Skip to content

'wikipedia' module #7

Open
Open

Description

@alialsaeedi19

in homework 1 exercise 3.3

when I tried to do : import wikipedia
I get this error
No module named 'wikipedia'

I tried to install wikipedia module using 'pip install wikipedia'
even I tried pip3 install wikipedia
but still the same issue

Activity

  1. DanielLaszlo commented on Oct 20, 2017

    @DanielLaszlo

    Anaconda uses virtual environments, which means that it can happen, that the Python kernel, which is used by the Jupyter notebook is not the same as the one you can run directly from the terminal. This means that if you install a package using pip from the terminal, that won't affect the kernel run by Jupyter notebook.
    So try to locate the directory of Anaconda, and then look for the default environment there (maybe something like /home/your_name/anaconda/envs/some_environment_name/bin). And run the pip that can be found in this folder. After it restart Jupyter notebook.

  2. alialsaeedi19 commented on Oct 20, 2017

    @alialsaeedi19
    Author

    it works now!

    thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions