First time here? Check out the FAQ!
0

install python binding mysql fails

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))
SocialQA's avatar
265
SocialQA
asked 2013-03-19 18:49:54 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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

SocialQA's avatar
265
SocialQA
answered 2013-03-20 14:16:55 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments