问题
Not sure what happened but whenever I use ipython, hydrogen (atom) or jupyter notebook can't find any of the installed modules. I know I have pandas installed but the notebook says its not found.
I should add that when I run the script normally (python script.py
) it does import without any errors.
Suggestions?
Thanks!
回答1:
Try the following:
pip3 install ipykernel --upgrade
python3 -m ipykernel install --user
Make sure that Panda is installed using pip3.
回答2:
Issue seems to be resolved by running
pip3 install
rather than pip install
来源:https://stackoverflow.com/questions/50914761/jupyter-notebook-cant-find-modules-for-python-3-6