Unable to install NumPy in PyCharm version 9.3.3. Python version 3.8.2

送分小仙女□ 提交于 2020-05-29 11:04:28

问题


Error while installing NumPy in PyCharm.

Tried installing Microsoft Visual C++ 14.0 . Still not working. NumPy is getting installed by command pip3 install numpy in the cmd terminal but when trying to install it in project interpreter in PyCharm this error pops up. I have checked other forums with similar error but am not able to find a solution.


回答1:


Try upgrading your version of pip using this command --> python -m pip install --upgrade pip

Then use the following command to install the numpy --> pip install numpy




回答2:


Solved

When installing visual studio [link] (https://visualstudio.microsoft.com/visual-cpp-build-tools/)

Offline Installer: [https://aka.ms/vs/16/release/vs_buildtools.exe]

Tick the checkbox of C++ build tools option in the installer. It will be around 2 Gb.

Once installed it will tell you to restart your system. After restarting

Go to Pycharm --> File --> Settings --> Project --> Project interpreter --> click the + symbol at the top right side , serach for numpy and click install package.




回答3:


Install visual studio c++ -> build tools C++

restart the machine and then go to pycharm->settings->project->project interpreter-> click on + symbol on the right top-> search for numpy -> click install package at the left bottom

now you should be good



来源:https://stackoverflow.com/questions/60439000/unable-to-install-numpy-in-pycharm-version-9-3-3-python-version-3-8-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!