Skip to content Skip to sidebar Skip to footer

Error: Command Errored Out With Exit Status 1: Python In Window

I had tried to pip install numpy but there had a problems: ERROR: Command errored out with exit status 1: command: 'c:\users\admin\appdata\local\programs\python\python39\python.ex

Solution 1:

I am a beginner coder so I don't know much about what exactly is causing the problem. It was the same problem with me when I installed python 3.9 but when I downgraded it to Python 3.8 it worked fine for me

Solution 2:

The solution for this error is right there. You need to install Microsoft Visual C++ 14.0 in your system, mate.

https://visualstudio.microsoft.com/downloads/

Use this website, to download Visual Studio for your PC.

If at all, it didn't work then try using the below method:

  1. Go to the website I've given below

    https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

  2. Download the needed version of the numpy

    For instance, I am using a Python 3.9 in Win64, so I choose

    numpy‑1.20.2+mkl‑cp39‑cp39‑win_amd64.whl

  3. Then, open CMD as Administrator and navigate to the folder where you downloaded the file

  4. Then type

    pip install <name of file you downloaded>

In my case it is,

pip install numpy‑1.20.2+mkl‑cp39‑cp39‑win_amd64.whl

And the installation takes place!!!

Remember, first download and install the MS C++ 14.0 on you computer and then try!!!

Solution 3:

I have had that problem.I think it is because python 3.9. So you can unistall it and use python 3.8, it will be worked ok for you.

Post a Comment for "Error: Command Errored Out With Exit Status 1: Python In Window"