easy-install

Installing easy_install... to get to installing lxml

I've come to grips with the fact that ElementTree isn't going to do what I want it to do. I've checked out the documentation for lxml, and it appears that it will serve my purposes. To get lxml, I need to get easy_install. So I downloaded it from here, and put it in /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pac...

The problem with installing PIL using virtualenv or buildout.

When I install PIL using easy_install or buildout it installs in such way, that I must do 'import Image', not 'from PIL import Image'. However, if I do "apt-get install python-imaging" or use "pip -E test_pil install PIL", all work fine. Here are examples of how I trying to install PIL using virtualenv: # virtualenv --no-site-packages...

Including global package into a virtualenv that has been created with --no-site-packages

I'd usually prefer to create virtualenvs with --no-site-packages option for more isolation, and also because default python global packages includes quite a lot of packages, and usually most of them are not needed. However I'd still want to keep a few select packages in global, like PIL or psycopg2. Is there a good way to include them in...

Should Python 2.6 on OS X deal with multiple easy-install.pth files in $PYTHONPATH?

I am running ipython from sage and also am using some packages that aren't in sage (lxml, argparse) which are installed in my home directory. I have therefore ended up with a $PYTHONPATH of $HOME/sage/local/lib/python:$HOME/lib/python Python is reading and processing the first easy-install.pth it finds ($HOME/sage/local/lib/python...

Problems installing a package from PyPI: root files not installed

After installing the BitTorrent-bencode package, either via easy_install BitTorrent-bencode or pip install BitTorrent-bencode, or by downloading the tarball and installing that via easy_install $tarball, I discover that /usr/local/lib/python2.6/dist-packages/BitTorrent_bencode-5.0.8-py2.6.egg/ contains EGG-INFO/ and test/ directories. A...

Best practice for installing python modules from an arbitrary VCS repository

I'm newish to the python ecosystem, and have a question about module editing. I use a bunch of third-party modules, distributed on PyPi. Coming from a C and Java background, I love the ease of easy_install <whatever>. This is a new, wonderful world, but the model breaks down when I want to edit the newly installed module for two reas...

easy_install ReviewBoard [Errno 104] Connection reset by peer

I have a Kubuntu 10.04 VM image and am trying to install ReviewBoard by following The Linux Installation Wiki. When I get to the step to easy_install ReviewBoard, I encounter a problem I cannot find a solution to. Below is the console output: >> sudo easy_install ReviewBoard Searching for ReviewBoard Best match: ReviewBoard 1.0.8 Proces...

Installing psycopg2 (postgresql) in virtualenv on windows

I installed psycopg2 in virtualenv using easy_install psycopg2. I did not see any errors and looks like installation went fine.. there is an egg file created in the site-packages dir for psycopg2.. but when I run import psycopg2 in the interpreter, I am getting following error.. any clue? How can I fix it.. any other way to install psyc...

Why can't easy_install find MySQLdb?

$ 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: C...

Install Numpy in VirtualEnv on Windows

How can I install numpy in virtualenv... easy_install numpy is throwing error.. I can not use the binary installer because this would install numpy in the python main installation and not in virtualenv.. Thanks ...

Installing Jinja2 on a server without root access

I am trying to install Jinja2 on a web server. I tried running the command "easy_install Jinja2" as they suggested and got an error: [Errno 13] Permission denied: '/usr/lib/python2.5/site-packages/test-easy-install-15897.write-test' I thought that since this was a permission problem, I tried the same thing with "sudo". I was asked ...

tokyo-python Install Issues

Hey guys, I'm trying to use Tokyo Cabinet in Python via the tokyo-python package. I've installed Cabinet, and the Cabinet development library. However, whenever I try to install tokyo-python with pip or easy_install, I get this ugliness. matt@amalgam:~/$ bin/pip install tokyo-python Downloading/unpacking tokyo-python Downloading tokyo-...

easy_install extra build arguments

I'm trying to install ReportLab, but I have no C compiler available to compile the rl_accel library. Using setup.py, I would add an extra argument like so: python setup.py --rl_accel=no install Is it possible to add extra arguments to easy_install so that I can reproduce the same effect? easy_install reportlab [something here?] ...

"AttributeError: 'module' object has no attribute '__getstate__' " shows up when I use easy_install

For some reason, every time I attempt to install a new module using easy_install, I'm getting the error: AttributeError: 'module' object has no attribute '__getstate__' I'm using setuptools-0.6c11-py2.6 ...

when i easy_install greenlet i got "error: Setup script exited with error: command 'gcc' failed with exit status 1 "

when i easy_install greenlet(also eventlet) as the documents says in ubuntu 10.04 i got the error above. is there anyone know why? Expect your help! And I have install build-essential As I canot take the format right here, so I paste the message printed out there http://sugelawa.appspot.com/?p=35001 Thank u very much! ...

Snow Leopard and Enthought Tool Suite problems: cannot install Enable

I'm an OS X novice who has been pulling hair out trying to install ETS components on Snow Leopard. The initial problem centred round the message. /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory I came across a fix which involves (a) loading the mac 10.4 SDK from the Snow Leo...

Installing lxml when Codespeak.net is down.

Codespeak.net is down and something, somewhere in my buildout wants to easy_install lxml from it, despite me boopstrapping with pip, having it installed already and removing it from my buildout files. How else can I get round this? ...

Python install uninstall easy_install

I have two versions of python on my mac: One preinstalled by Apple in /usr/bin One from python.org in /Library/Frameworks/Python.framework/Versions/2.6 easy_install always installs to /usr/bin for some ununderstanable reason So I explicitly now install easy_install in: sh setuptools-0.6c11-py2.6.egg --install-dir=/Library/Framewor...

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 version of Python is: `Python 2.7 (r27:82525, Jul 4 2010, 07:43:08) [MSC v.1500 64 bit (A...

Best practice for keeping Python GAE dependencies in project VCS

At our company we have a very nice system setup for tracking our external packages dependencies in revision control for our current desktop application development (C++/python). We are starting to develop some python only web applications are are looking for recommendations for best practices when there is only python code involved and ...