Python Forum

Full Version: Spyder: Module Not Found
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a location in Spyder that I can add another directory of Modules? from CMD line I can import a module (such as pygame) but from Spyder it's acting like the module isn't there. I believe it's just not looking at the correct Lib\site-packages path.

By default it looks like pip install is dropping the modules into "C:\ProgramData\Anaconda3\Lib\site-packages" is this the default location for Anaconda/Spyder module path?
pip is doing what it is supposed to do. The packages should always be installed in the site-packages directory (by pip, not by you).
are you sure you are running the same version of python that pip is associated with?
type from command line:
python -V
pip -V
and make sure they match.
I've uninstalled Anaconda and Python from my win10 machine and deleted the folders and SysPaths. Then installed both again since the post. I 'think' everything is working correctly now.
Python 3.7.0
pip 10.0.1 from C:\ProgramData\Anaconda3\Lib\site-packages\pip

But I've seen multiple locations for python.exe and site-packages locations. Currently, i think everything I'm using is coming from the ProgramData\Anaconda3 location (python and the packages. And this is fine so long as I only use Spyder for my compiler and not the command line.