Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'easy_install' is not recognized as an in internal or external command, operable program or batch file

I have just downloaded and installed the latest version of Python on my Windows 7 machine.

Python 2.7.3

Now I want to install a Twitter library I found online:

However when I try to run easy_install tweepy, I get this error message:

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

Python has already been placed into my path, as I can invoke the Python program into the command line.


Here is a screenshot of my folder where Python is installed.

enter image description here

And inside the Tools folder:

enter image description here

And inside the scripts folder:

enter image description here

like image 532
Only Bolivian Here Avatar asked Apr 18 '12 18:04

Only Bolivian Here


4 Answers

You need to:

  1. Install easy_install: http://pypi.python.org/pypi/setuptools

  2. Add C:\Python27\Scripts to your PATH

like image 105
FogleBird Avatar answered Sep 25 '22 04:09

FogleBird


I had the same issue with Python 3.4. Fixed it with the steps below:

cd C:\Python34\Scripts .\easy_install pip

(or what you need to install) with the .\ you sort of grant admin permissions to the command

like image 32
Ralu Avatar answered Sep 24 '22 04:09

Ralu


I think that you should set the 'PATH' variable in order to execute it

like image 20
Aito Avatar answered Sep 22 '22 04:09

Aito


Looks like easy-install is not itself installed on your system.

See this previous question for instructions on installing.

like image 33
Larry Lustig Avatar answered Sep 26 '22 04:09

Larry Lustig