Reputation: 1
I installed pandas using pip and get the following message "pip install pandas Requirement already satisfied (use --upgrade to upgrade): pandas in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages Cleaning up..."
When I load up python and try to import pandas, it says module not found. Please help
Upvotes: 0
Views: 1215
Reputation: 8408
Following the previous answer try this after opening a python shell:
import sys
new_path = "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages" # or wherever your pip install drops things
sys.path.append(new_path)
import pandas
Upvotes: 0
Reputation: 11
Try to locate your pandas lib in /python*/lib/site-packages, add dir to your sys.path file.
Upvotes: 1