gdogg371
gdogg371

Reputation: 4122

'pip' not recognised command when installing packages

I am trying to install the oauth package from the PYPI list of standard directories by submitting the following code to command prompt:

pip install oauth==1.0.1

This is to install the specific version 1.0.1 of 'oauth'. However I am getting the following error message:

pip is not recognised as an internal or external command

I am using Python 3.3 on Windows 8 and have installed Pip via Command Prompt using the code:

Get-Pip.py

What am I doing wrong?

Upvotes: 2

Views: 16115

Answers (2)

Andy
Andy

Reputation: 50540

Your python Scripts directory wasn't added to your Windows path. Typically, this path is C:\Python3x\Scripts where the x is the minor version of Python you have installed (ie. 3 for Python 3.3 or 4 for Python 3.4)

Once that is added to your path, you can open a new command prompt and use pip.

If you don't want (or can't) alter your path variable, you can also add the full path to your command to get it to work

C:\Python3x\Scripts\pip.exe install oauth==1.0.1

Again, the x will follow the above values for the minor version of Python.

Upvotes: 8

Trimax
Trimax

Reputation: 2473

Look at the subfolder \Scripts in your Python3 instalation path.

Check if there is the pip.exe file or pip3.exe or pip3.3.exe.

In my instalation there is the pip3.exe file, so I need to write pip3 install oauth==1.0.1

Upvotes: 2

Related Questions