Ask Your Question
0

install python binding mysql fails

asked 2013-03-19 18:49:54 -0500

SocialQA's avatar

I was fallowing the steps as mentioned in the documentation, after I ran askbot-setup I got the message saying NEXT STEP: install python binding for mysql pip install mysql-python

when I do that I get the following error, I have done an installation before in a different server, and never saw this error in that server. What could be the reason?

NEXT STEP: install python binding for mysql
pip install mysql-python

(myVirtualEnv)myhost@someserver:/export/scratch/code/myVirtualEnv/ask$ pip install mysql-python
Downloading/unpacking mysql-python
  Downloading MySQL-python-1.2.4.zip (113Kb): 113Kb downloaded
  Running setup.py egg_info for package mysql-python
    The required version of distribute (>=0.6.28) is not available,
    and can't be installed while this script is running. Please
    install a more recent version first, using
    'easy_install -U distribute'.

    (Currently using distribute 0.6.24 (/export/scratch/code/myVirtualEnv/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg))
    Complete output from command python setup.py egg_info:
    The required version of distribute (>=0.6.28) is not available,

and can't be installed while this script is running. Please

install a more recent version first, using

'easy_install -U distribute'.



(Currently using distribute 0.6.24 (/export/scratch/code/myVirtualEnv/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg))
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-03-20 14:16:55 -0500

SocialQA's avatar

After research I manage to fix the issue by running easy_install -U distribute

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-03-19 18:49:54 -0500

Seen: 575 times

Last updated: Mar 20 '13