ModuleNotFoundError: No module named 'numpy' in Python 3.x
Hello Guys, I'm just studying Python one month before and I practiced with pycharm on window 10.
I try open Cmd as admin and run command
but when run this code I got an exception ModuleNotFoundError: No module named 'numpy'.
>>> import numpy Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'numpy' >>>
I also try to run command python to check version of it and it show as below:
C:\WINDOWS\system32>python Python 3.9.9 (tags/v3.9.9:ccb0e6a, Nov 15 2021, 18:08:50) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
I'm using Python 3.9.9 and run on window 10 64bit.
Do you have any suggestion for me?
Thank you so much.
Leonardo Urbano Dec 12 2021
Run command below:
pip install numpy
And wait for it completely and it worked for you.
Giang Nguyen Dec 12 2021
You can install numpy by:
pip3 install numpy
python3 -m pip install numpy
This command solved for my on window 10