Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Im trying to setup the python environment so that I can import the pandas framework.
I installed pandas using Anaconda that has installed pandas at ".opt/anaconda3/lib/python3.8/site-packages"
so inside a python shell in Maya Ive written this code...
import sys
sys.path.append (".opt/anaconda3/lib/python3.8/site-packages")
import pandas
but Im getting this message:
# Error: ImportError: file <maya console> line 4: No module named pandas #
I've CD'd into this directory and printed the directory contents out and sure enough pandas is definitely inside there and if I print out the PYTHONPATH ".opt/anaconda3/lib/python3.8/site-packages" is on that list.
Any ideas as to what I can do to fix this?
Many thanks
Solved! Go to Solution.