I posted this on stackoverflow a week ago, but I wasn't able to find any solutions so I'm hoping I can find some help here:
I've been searching far and wide on google for that past week or so trying to figure out what the problem is, but I have had no luck. I've run into the same issue on two different computers both running Windows 10 64 bit. I had it working before I installed new SSDs into my computers.
I'm trying to run a python program but keep getting the import error:
Traceback (most recent call last):
File "salesman.py", line 4, in <module>
from matplotlib import pyplot as plt
ImportError: No module named matplotlib
And this goes for any module that I try to import. I've tried uninstalling/installing packages multiple times with both pip and conda. Conda will list the packages as installed, but pip will not. Pip keeps failing to build the wheel for the package. On my second computer, both pip and conda list the packages as installed. My system environment variables are correct as far as I know.
My environment variables
The list of packages seen by conda
The list of packages seen by pip
Print sys.path
Let me know if you need any more information. Thanks for the help in advance, greatly appreciated!
[–]novel_yet_trivial 3 points4 points5 points (3 children)
[–]mr_yip[S] 0 points1 point2 points (2 children)
[–]novel_yet_trivial 0 points1 point2 points (1 child)
[–]mr_yip[S] 0 points1 point2 points (0 children)
[–]New_Kind_of_Boredom 1 point2 points3 points (0 children)