EasyInstall is a package manager that provides a standard format to distribute Python programs and libraries. Part of the `setuptools` module.
Questions tagged [easy-install]
728 questions
973
votes
9 answers
Why use pip over easy_install?
A tweet reads:
Don't use easy_install, unless you
like stabbing yourself in the face.
Use pip.
Why use pip over easy_install? Doesn't the fault lie with PyPI and package authors mostly? If an author uploads crap source tarball (eg: missing…

Sridhar Ratnakumar
- 81,433
- 63
- 146
- 187
716
votes
13 answers
How do I remove packages installed with Python's easy_install?
Python's easy_install makes installing new packages extremely convenient. However, as far as I can tell, it doesn't implement the other common features of a dependency manager - listing and removing installed packages.
What is the best way of…

ire_and_curses
- 68,372
- 23
- 116
- 141
454
votes
12 answers
How to install lxml on Ubuntu
I'm having difficulty installing lxml with easy_install on Ubuntu 11.
When I type $ easy_install lxml I get:
Searching for lxml
Reading http://pypi.python.org/simple/lxml/
Reading http://codespeak.net/lxml
Best match: lxml 2.3
Downloading…

Eric Wilson
- 57,719
- 77
- 200
- 270
426
votes
19 answers
Find all packages installed with easy_install/pip?
Is there a way to find all Python PyPI packages that were installed with easy_install or pip? I mean, excluding everything that was/is installed with the distributions tools (in this case apt-get on Debian).

Jürgen A. Erhard
- 4,908
- 2
- 23
- 25
352
votes
30 answers
ImportError: No module named PIL
I use this command in the shell to install PIL:
easy_install PIL
then I run python and type this: import PIL. But I get this error:
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named PIL
I've…

Asma Gheisari
- 5,794
- 9
- 30
- 51
307
votes
3 answers
What's the difference between dist-packages and site-packages?
I'm a bit miffed by the python package installation process. Specifically, what's the difference between packages installed in the dist-packages directory and the site-packages directory?

maxm
- 5,161
- 7
- 30
- 33
304
votes
13 answers
How to install packages offline?
What's the best way to download a python package and its dependencies from pypi for offline installation on another machine? Is there any easy way to do this with pip or easy_install? I'm trying to install the requests library on a FreeBSD box that…

Chris Drantz
- 3,043
- 3
- 14
- 4
191
votes
33 answers
ImportError: No module named Crypto.Cipher
When I try to run app.py (Python 3.3, PyCrypto 2.6) my virtualenv keeps returning the error listed above. My import statement is just from Crypto.Cipher import AES. I looked for duplicates and you might say that there are some, but I tried the…

Graham Smith
- 2,125
- 2
- 13
- 12
161
votes
7 answers
Bypass confirmation prompt for pip uninstall
I'm trying to uninstall all django packages in my superuser environment to ensure that all my webapp dependencies are installed to my virtualenv.
sudo su
sudo pip freeze | grep -E '^django-' | xargs pip -q uninstall
But pip wants to confirm every…

hobs
- 18,473
- 10
- 83
- 106
161
votes
3 answers
Can I use `pip` instead of `easy_install` for `python setup.py install` dependency resolution?
python setup.py install will automatically install packages listed in requires=[] using easy_install. How do I get it to use pip instead?

joeforker
- 40,459
- 37
- 151
- 246
138
votes
14 answers
How to pip or easy_install tkinter on Windows
IDLE is throwing errors that and says tkinter can't be imported.
Is there a simple way to install tkinter via pip or easy_install?
There seem to be a lot of package names flying around for this...
This and other assorted variations with tkinter-pypy…

Dirk Calloway
- 2,569
- 4
- 23
- 34
133
votes
11 answers
Installing SetupTools on 64-bit Windows
I'm running Python 2.7 on Windows 7 64-bit, and when I run the installer for setuptools it tells me that Python 2.7 is not installed. The specific error message is:
`Python Version 2.7 required which was not found in the registry`
My installed…

quanticle
- 4,872
- 6
- 32
- 42
131
votes
28 answers
pip issue installing almost any library
I have a difficult time using pip to install almost anything. I'm new to coding, so I thought maybe this is something I've been doing wrong and have opted out to easy_install to get most of what I needed done, which has generally worked. However,…

contentclown
- 1,341
- 2
- 9
- 8
91
votes
16 answers
What is the official "preferred" way to install pip and virtualenv systemwide?
Is it this, which people seem to recommend most often:
$ sudo apt-get install python-setuptools
$ sudo easy_install pip
$ sudo pip install virtualenv
Or this, which I got from http://www.pip-installer.org/en/latest/installing.html:
$ curl -O…

coffee-grinder
- 26,940
- 19
- 56
- 82
86
votes
3 answers
Install particular version with easy_install
I'm trying to install lxml. I've had a look at the website, and version 2.2.8 looked reasonable to me but when I did easy_install lxml, it installed version 2.3.beta1 which is not really what I want I presume.
What is the best way to fix this and…

dr jerry
- 9,768
- 24
- 79
- 122