I'm using Python 3.6.5 on a 64-bit version of Windows 10.
When I try to start Python using py
and then import NumPy at the interpreter prompt, I get an exception:
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
I thought I did not have NumPy installed, so I tried to install it with pip install numpy
at the command line. But this gives
Requirement already satisfied: numpy in c:\users\pc\appdata\local\programs\python\python36-32\lib\site-packages (1.15.0)
What? How can I fix this?