pip install mysql-python / mysqlclient返回索引错误

时间:2017-04-20 15:23:12

标签: python mysql pip

我运行了各种各样的myql连接器,我可以找到但是所有这些连接器完成之后:

Downloading mysqlclient-1.3.10.tar.gz (82kB) 100% |████████████████████████████████| 92kB 1.3MB/s Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/folders/6j/7lsh4_b55vz24ht7xv83syq0t4yg60/T/pip-build-KAOKCO/mysqlclient/setup.py", line 17, in <module> metadata, options = get_config() File "setup_posix.py", line 54, in get_config libraries = [dequote(i[2:]) for i in libs if i.startswith('-l')] File "setup_posix.py", line 12, in dequote if s[0] in "\"'" and s[0] == s[-1]: IndexError: string index out of range

最终出现以下错误:

data.sort([{column: 0}]);

chart.draw(data);

所有mysql dbs似乎都有这个问题......但是没有其他软件包通过pip(例如请求)

0 个答案:

没有答案