import numpy problem - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Data Science (https://python-forum.io/forum-44.html) +--- Thread: import numpy problem (/thread-26914.html) |
import numpy problem - ptnb - May-18-2020 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. RE: import numpy problem - ptnb - May-18-2020 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... |