Python Forum

Full Version: import numpy problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I guess this is basic issue, but lost some time on this, so I figured I should ask for help here.

Problem is that when I try to import numpy I get the message "No module named numpy"
There were several exe python files on my computer and no matter which I run I couldn't import numpy. In order to fix this I uninstalled all of them and installed Anaconda.
I checked environments tab under Anaconda and I can see that numpy is installed. And I run PyCharm through Anaconda.

I activated environment, so when I run python via Anaconda prompt everything works fine - I can work with numpy.
When I run python through Windows command prompt I have to activate environment with "activate base" every single time.
And when I try to run PyCharm through Anaconda nothing helps...I cannot import numpy no matter what I do...

Thanks for all the help.
I found something that might help those who have similar problem.
In File->Settings->Project->Python Interpreter you have to manually add numpy and then it works...