84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
我把之前Linux上默认的python2.6版本升级到2.7后,重新yum install MySQL-python后还是不能使用!怎么才能导入这个库呀。。跪求大神指点
Go to pypi to download the module package
Unzip
There is INSTALL to enter
python setup.py installThat’s it
Download the source code and reinstall ithttp://blog.csdn.net/yanyamin...
Download and install piphttps://bootstrap.pypa.io/get...
python2.7 get-pip.py
Install MySQL-python
pip2.7 install MySQL-python
The original poster can search for python virtualenv which is very useful. Various python versions, various packages
https://pypi.python.org/pypi/...Download the zip, unzip it, enter the folder, python setup.py install
Go to pypi to download the module package
Unzip
There is INSTALL to enter
python setup.py install
That’s it
Download the source code and reinstall it
http://blog.csdn.net/yanyamin...
Download and install pip
https://bootstrap.pypa.io/get...
python2.7 get-pip.py
Install MySQL-python
pip2.7 install MySQL-python
The original poster can search for python virtualenv which is very useful. Various python versions, various packages
https://pypi.python.org/pypi/...
Download the zip, unzip it, enter the folder, python setup.py install