0
Je suis en train d'installer le module mysql-python
dans un OS X 10.12.4
mais j'ai le message suivantErreur d'installation python MySQLdb OS X 10.12.4
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 "/private/tmp/pip-build-KAgV3I/mysql-python/setup.py", line 17, in <module>
metadata, options = get_config()
File "setup_posix.py", line 53, in get_config
libraries = [ dequote(i[2:]) for i in libs if i.startswith(compiler_flag("l")) ]
File "setup_posix.py", line 8, in dequote
if s[0] in "\"'" and s[0] == s[-1]:
IndexError: string index out of range
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-KAgV3I/mysql-python/
installer déjà mysql-connector-c
et Xcode-select --install
et j'ai toujours la même erreur
Assurez-vous d'avoir la version correcte que vous recherchez ... –
J'ai installé avec pip, comment savoir quelle version j'ai besoin? –