I cannot import any modules.

I have python 3.8 for windows and pycharm. I updated pip, I installed many modules, e.g. numpy, by typing in the terminal “pip install numpy”, I can even see the numpy module in Pycharm in “External Libraries – Lib – Site Packages – numpy", but once I type "import numpy" at Pycharm I received the error message “no module named Pycharm”.

0
1 comment

Hello, 

Do you see the installed packages in the Project Interpreter settings? If no, please make sure the location of the package is added to interpreter paths https://www.jetbrains.com/help/pycharm/installing-uninstalling-and-reloading-interpreter-paths.html#add 

Also, please try to recreate a virtual environment  and install packages via PyCharm UI as described in https://www.jetbrains.com/help/pycharm/installing-uninstalling-and-upgrading-packages.html 

 

0

Please sign in to leave a comment.