@
kungfuchicken 抛了个错误如下
bash-3.2$ export PATH=$PATH:/usr/local/mysql/bin
bash-3.2$ pip install MySQL-Python
---------------------------------------------------
Collecting MySQL-Python
/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/
connection.py:266: SubjectAltNameWarning: Certificate for
pypi.python.org has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See
https://github.com/shazow/urllib3/issues/497 for details.)
SubjectAltNameWarning
Using cached MySQL-python-1.2.5.zip
Complete output from command python
setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/tmp/pip-build-931zi2ld/MySQL-Python/
setup.py", line 13, in <module>
from setup_posix import get_config
File "/private/tmp/pip-build-931zi2ld/MySQL-Python/
setup_posix.py", line 2, in <module>
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
----------------------------------------
Command "python
setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-931zi2ld/MySQL-Python/
----------------------------------------------------
[问题]: python
setup.py egg_info 是什么东东? 发现好多错误和它有关