0
장고 프로젝트를 만들었고 그것도 잘 작동합니다. 그래서 MySql을 설정하여 구글에서 검색하고 몇 가지 방법을 시도했지만, pip install MySQL-python
아래의 문제가 발생했습니다 : pip install MySQL-python이 리눅스에서 설치되지 않았습니다.
Collecting MySQL-python
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 "/tmp/pip-build-lwubgejh/MySQL-python/setup.py", line 13, in <module>
from setup_posix import get_config
File "/tmp/pip-build-lwubgejh/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 /tmp/pip-build-lwubgejh/MySQL-python/
이 오류에 대한 해결책을 찾을 수 없습니다 :
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-lwubgejh/MySQL-python/
도움을 주셔서 감사합니다.
pip install mysqlclient 근무했습니다., thx –