Revision history [back]
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))