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))

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
SocialQA's avatar
265
SocialQA
asked 12 years ago

Comments

see more comments

1 Answer

0

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
SocialQA's avatar
265
SocialQA
answered 12 years ago
link

Comments

see more comments