Mysql-python


#1

I am trying to set up mysql-python on my account, could someone help me?

I have ran these 3 lines successfully:
wget http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.1.tar.gz
tar xzf virtualenv-1.1.tar.gz
python2.4 virtualenv-1.1/virtualenv.py $HOME/local

found here: http://wiki.dreamhost.com/Python#Virtualenv

I have downloaded an extracted MySQL-python:
http://internap.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2.tar.gz

Next I run this:
python ~/MySQL-python-1.2.2/setup.py easy_install-2.4

Then I get this error:
Traceback (most recent call last):
File “/home/ryannaddy/MySQL-python-1.2.2/setup.py”, line 16, in ?
metadata, options = get_config()
File “/home/.marble/ryannaddy/MySQL-python-1.2.2/setup_posix.py”, line 32, in get_config
metadata, options = get_metadata_and_options()
File “/home/.marble/ryannaddy/MySQL-python-1.2.2/setup_common.py”, line 7, in get_metadata_and_options
metadata = dict(config.items(‘metadata’))
File “/usr/lib/python2.3/ConfigParser.py”, line 537, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: ‘metadata’

What am I doing wrong?


TzFiles.com