Error in installing numpy on python 3.9
已回答
Hi,
I am getting the attached error while installing numpy on python interpreter 3.9. Please note that i could install numpy on interpreter 3.8 without any issues and it still runs fine.
The error says 'install Python development packages'. However, I am not able to get any python-dev package in PyCharm for pip install.

请先登录再写评论。
Hello,
The issue is not related to PyCharm because the installation is performed by pip.
Try installing python-dev as mentioned in https://stackoverflow.com/questions/24892810/python-3-4-and-2-7-cannot-install-numpy-package-for-python-3-4
For your Python version, run
Thank you Sergey. It worked like a charm :)
Hello,
I am presently facing the same challenge.
I just installed python 3.9.2 and pycharm 2020-3.3, having set my environment in the project interpreter, I tried to install new packages but it's always coming up with error loading packages. I have tried to upgrade my pip from the terminal, it wasn't successful, I am daamn confused.
Kindly profer a step-by-step solution
Hello Caseyviva1,
Please attach a full error trace. I am also wondering if the installation would work out of PyCharm in the same virtual environment. Follow steps provided here https://intellij-support.jetbrains.com/hc/en-us/articles/360010202240 to define it.
Thank you!
Certainly, not IDE caused/related issue. Please see this thread https://stackoverflow.com/questions/16370583/pip-issue-installing-almost-any-library
Alright.
Please I need a step-by-step approach of what has worked in the past.
Hello,
I apologize, but I cannot provide you with a step-by-step solution which would work for 100&. Firstly, because this is not an IDE-related issue, secondly according to the error output there might be multiple approaches.