Pip installing into an older Python version

后端 未结 1 1999
情话喂你
情话喂你 2020-12-15 08:05

I am trying to install mysql-python using:

pip install mysql-python

the package is being installed below, although I already have Python 2.

相关标签:
1条回答
  • 2020-12-15 08:35

    You should have pip-2.6. If you don't have pip version 2.6 :

    You have to install setuptools for Python 2.6 (example : setuptools-0.6c11-py2.6.egg). Then, you have easy_install-2.6. You can do :

    easy_install-2.6 pip
    

    Finally, you have pip version 2.6. To install mysql-python :

    pip-2.6 install mysql-python
    
    0 讨论(0)
提交回复
热议问题