Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'wikipedia' module #7

Open
alialsaeedi19 opened this issue Oct 20, 2017 · 2 comments
Open

'wikipedia' module #7

alialsaeedi19 opened this issue Oct 20, 2017 · 2 comments

Comments

@alialsaeedi19
Copy link

alialsaeedi19 commented Oct 20, 2017

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

@DanielLaszlo
Copy link

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.

@alialsaeedi19
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants