Questions tagged [easy-install]

EasyInstall is a package manager that provides a standard format to distribute Python programs and libraries. Part of the `setuptools` module.

730 questions
2621
votes
40 answers

How can I install pip on Windows?

pip is a replacement for easy_install. But should I install pip using easy_install on Windows? Is there a better way?
mit
  • 10,441
  • 7
  • 43
  • 71
947
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
  • 68,948
  • 61
  • 139
  • 172
707
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
  • 64,177
  • 22
  • 110
  • 139
446
votes
11 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
  • 51,818
  • 71
  • 192
  • 262
412
votes
18 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,838
  • 2
  • 21
  • 25
260
votes
2 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
  • 4,407
  • 7
  • 25
  • 32
254
votes
25 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
  • 4,564
  • 7
  • 27
  • 47
197
votes
11 answers

How to install packages offline?

What's the best way to download a python package and it's 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
  • 1,973
  • 3
  • 11
  • 4
144
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
  • 36,731
  • 34
  • 138
  • 231
135
votes
26 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
  • 1,565
  • 2
  • 9
  • 11
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,247
  • 5
  • 26
  • 38
119
votes
13 answers

How to pip or easy_install tkinter on Windows

My 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…
Dirk Calloway
  • 2,259
  • 4
  • 18
  • 32
111
votes
26 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,141
  • 2
  • 8
  • 8
102
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
  • 15,252
  • 8
  • 75
  • 93
87
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
  • 25,040
  • 19
  • 53
  • 81
1
2 3
48 49