Python Forum

Full Version: Error in importing numpy
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I installed numpy (numpy-1.17.4-py36h4320e6b_0.tar.bz2) offline using the source: https://repo.continuum.io/pkgs/main/win-64/
When I check the installation using conda list, I have numpy installed, but when I am trying to import it I am getting an error as below

Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
Several possibilities -
1. Bad download (but would think conda would recognize)
2. Multiple installations of Python, with numpy installed in some but not others. This is surprisingly easy to do. If I install using conda it goes into my iPython installation, in the currently selected environment. So, tensorflow is only installed in one conda environment not others. And, if you installed numpy in a iPython environment I don't believe that it would be visible in IDLE
3. More possibilities I am sure, but those are the ones that immediately come to mind.