Reputation: 221
I used IDLE for some time, then for a class they told us to download Anaconda, which I ended up not using, but still downloaded it anyway. I uninstalled anaconda and deleted all the files from my CPU and started using IDLE again. I now can't import a module to IDLE because it can't find it. I think anaconda messed up the python path, but I don't know how to change it so I can import modules back to python.
How can I determine what the python path is and how can I change it so when I download modules I can import them to IDLE again?
I am running OsX 10.10.5 and Python 2.7.10.
Upvotes: 2
Views: 4555
Reputation: 191
To add the python path for anaconda if you are on windows:
Example: C:\Anaconda3 - might not work C:\Anaconda3 - then this should work
Same thing for those, who have other installations.
Upvotes: 1
Reputation: 5935
Like @lsxliron mentioned in his comment you should probably check your .bash_profile
and make sure that anaconda isn't in your PATH
. It should have added itself there during the installation.
You might also want to confirm that IDLE isn't still pointing to the anaconda python that you've now removed.
Also check this question for more details on uninstalling anaconda on OS X.
Upvotes: 0