Search code examples
pythonpycharm

Pycharm throws: ModuleNotFoundError: No module named 'numpy' error even though Numpy is installed


When try to import numpy in pycharm it throws: ModuleNotFoundError: No module named 'numpy' error even though numpy is installed on the machine.

If I try to run the console it works perfectly.


Solution

  • pycharm creates its own virtual environment. But you have installed numpy in your system environment. just open pychram console and run pip install numpy