I'm trying to use Pandas in a Python 3 Jupyter Notebook on a Mac (OSX High Sierra 10.13.6), but I get the following error when I run import pandas as pd
:
ModuleNotFoundError: No module named 'pandas'
I have the same issue with Numpy and other Python packages.
This problem does NOT occur when I try the same thing in a Python 2 Jupyter Notebook on the same system.
Please see the links to screen shots below:
Jupyter Notebook Python 3 Import Pandas Error
Jupyter Notebook Python 2 Import Pandas NO Error
Thanks in advance.
I seem to have solved my problem by installing the latest version of Anaconda, Anaconda 3. I don't know if this is the most precise or elegant solution (seems a bit like rebuilding a house to fix a broken pipe) but it worked.
If anyone has any other advice, I'm happy to hear it.
Thanks.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.