I am trying to write a simple program that uses the numpy module. I have downloaded it without the use of a virtual environment using pip. On doing a pip freeze all the modules are present yet I am unable to import it when I use the command prompt python terminal. I found a few answers related to the environment variables but I can't work my way around it.
1 Answer
That can be caused by multiple python versions installed in your system. So try:
python -m pip list
and if it does not list numpy, try installing it using:
python -m pip install numpy
In some cases, py works the same as python, so try all above things with py as well, including your own attempts
2 Comments
Shorya Sharma
I needed admin permissions to install numpy but it worked just fine.
Michael
nice then! Edited the post, also check it.


where pipandwhere pythonthen compare path to both apps.