ModuleNotFoundError: No module named 'numpy' in Python 3.x

Dung Do Tien Dec 12 2021 635

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 import numpy.

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:

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.

Have 2 answer(s) found.
  • G

    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

  • L

    Leonardo Urbano Dec 12 2021

    Run command below:

     pip install numpy

    And wait for it completely and it worked for you.

Leave An Answer
* NOTE: You need Login before leave an answer

* Type maximum 2000 characters.

* All comments have to wait approved before display.

* Please polite comment and respect questions and answers of others.

Popular Tips

X Close