【发布时间】:2017-12-03 01:18:00
【问题描述】:
在 Linux 操作系统中安装 MySQL Connector for Python 2.7.9 后出现错误。
命令 /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-5nxFZ_/mysql-connector-python-rf/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" 安装 --record /tmp/pip-qLvsiw-record/install-record.txt --single-version-externally-managed --compile 失败,错误代码 1 在 /tmp/pip-build-5nxFZ_/mysql-connector-python-rf
Storing debug log for failure in /home/pi/.pip/pip.log
搜索了很多关于这个错误的问题,找不到满意的解决方案,请帮我解决这个错误。
谢谢。 :)
【问题讨论】: