easy-install

How to install lxml on Ubuntu

How to install lxml on Ubuntu Question: 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 http://lxml.de/files/lxml-2.3.tgz Processing lxml-2.3.tgz Running lxml-2.3/setup.py -q bdist_egg –dist-dir /tmp/easy_install-7UdQOZ/lxml-2.3/egg-dist-tmp-GacQGy Building lxml version 2.3. Building without Cython. ERROR: /bin/sh: …

Total answers: 11

What is the official "preferred" way to install pip and virtualenv systemwide?

What is the official "preferred" way to install pip and virtualenv systemwide? Question: 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 https://github.com/pypa/virtualenv/raw/master/virtualenv.py $ python virtualenv.py my_new_env $ . my_new_env/bin/activate …

Total answers: 16

Bypass confirmation prompt for pip uninstall

Bypass confirmation prompt for pip uninstall Question: 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 package uninstall, and there doesn’t …

Total answers: 7

How do I install pip on Windows?

How do I install pip on Windows? Question: pip is a replacement for easy_install. But should I install pip using easy_install on Windows? Is there a better way? Asked By: mit || Source Answers: When I have to use Windows, I use ActivePython, which automatically adds everything to your PATH and includes a package manager …

Total answers: 40

How do I uninstall a Python module (“egg”) that I installed with easy_install?

How do I uninstall a Python module (“egg”) that I installed with easy_install? Question: I’ve installed a couple of Python modules using easy_install. How do I uninstall them? I couldn’t see an uninstall option listed in easy_install –help. Asked By: Paul D. Waite || Source Answers: Ah, here we go: $ easy_install -m PackageName $ …

Total answers: 2

How to use Python's "easy_install" on Windows … it's not so easy

How to use Python's "easy_install" on Windows … it's not so easy Question: After installing Python 2.7 on Windows XP, then manually setting the %PATH% to python.exe (why won’t the python installer do this?), then installing setuptools 0.6c11 (why doesn’t the python installer do this?), then manually setting the %PATH% to easy_install.exe (why doesn’t the …

Total answers: 5

Install particular version with easy_install

Install particular version with easy_install Question: 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 how can …

Total answers: 3

Installing SetupTools on 64-bit Windows

Installing SetupTools on 64-bit Windows Question: 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 version of Python is: `Python 2.7 …

Total answers: 11

Why use pip over easy_install?

Why use pip over easy_install? Question: 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 files, no setup.py) to PyPI, then both pip and …

Total answers: 9

Why can't easy_install find MySQLdb?

Why can't easy_install find MySQLdb? Question: This is what I tried: $ easy_install-2.6 -d /home/user/lib/python2.6 MySQLdb Searching for MySQLdb Reading http://pypi.python.org/simple/MySQLdb/ Couldn’t find index page for ‘MySQLdb’ (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download links found for MySQLdb error: Could not find suitable …

Total answers: 3