0

First off, I have scoured stack overflow for questions that are similar, and these ARE ones I have seen, but they do not solve the solution for me and I have made sure to follow their steps.

So, I downloaded this program to make an audio-reactive fractal, and in the readme it says the following:

## Installation

`'``bash
pip install -r requirements.txt
`'``

(I added in the two ' for formatting)

When I run pip install -r requirements.txt, I get the following error:

'pip' is not recognized as an internal or external command, operable program or batch file.

All of the steps in the comments to the above mentioned post did not solve this for me. Even running python commands like

python -m pip install [packagename]

did not help me, it did not recognize python as a command either, so I reasonably assumed I did not have python, so of course I installed it and had no success in changing anything.

Later I found out that doing py instead of python fixed it, but the pip commands did not work and my attempts at installing pip completely failed.

I've been frustrated by this multiple times and have probably spent over 5 hours over the course of weeks trying to fix it. I really just need some methods to solve this.

Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982
Noah
  • 430
  • 1
  • 4
  • 21
  • what operating system are you using and how did you originally install python in the first place? – kennyvh May 22 '20 at 23:11
  • @khuynh Windows 10 - Installed via pycharm and later installing python 3.7 from python.org – Noah May 24 '20 at 00:34

3 Answers3

1

Assuming pip is already installed on your device. Make sure that PIP is added to your PATH variable.

This link gives a detailed explanation on how to add the environment variable : https://appuals.com/fix-pip-is-not-recognized-as-an-internal-or-external-command/

apoorva kamath
  • 816
  • 1
  • 7
  • 19
0
'pip' is not recognized as an internal or external command, operable program or batch file.

Looking from your error message, I assume you're using Windows.

Because there's not enough information about your Windows version, if you're using Windows 10, you can use Python 3.7 from Microsoft Store, then install pip by downloading and running get-pip.py script.

After that, you can access pip by using python -m pip.

mforsetti
  • 413
  • 6
  • 8
-1

install the PIP module using the easy_install command.

Open the cmd and type easy_install pip.