2
What’s up, you guys?
I was trying to run the remote pip install MySQL-python
and the console returned me this error:
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/65/jkyt0ypj7mj7686wbsw_p1_m0000gn/T/pip-install-cis2n2x_/MySQL-python/setup.py'"'"'; __file__='"'"'/private/var/folders/65/jkyt0ypj7mj7686wbsw_p1_m0000gn/T/pip-install-cis2n2x_/MySQL-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: /private/var/folders/65/jkyt0ypj7mj7686wbsw_p1_m0000gn/T/pip-install-cis2n2x_/MySQL-python/
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/65/jkyt0ypj7mj7686wbsw_p1_m0000gn/T/pip-install-cis2n2x_/MySQL-python/setup.py", line 13, in <module>
from setup_posix import get_config
File "/private/var/folders/65/jkyt0ypj7mj7686wbsw_p1_m0000gn/T/pip-install-cis2n2x_/MySQL-python/setup_posix.py", line 2, in <module>
from ConfigParser import SafeConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py
egg_info Check the logs for full command output.
Does anyone know how to help me ? I have tried the following solutions:
pip install -U setuptools
brew reinstall python
sudo pip install MySQL-python
And nothing is working. Thanks in advance.