我已经安装了mysql-devel,它没有解决问题。你知道吗
我正在尝试执行以下命令:
sudo easy_install-2.7 MySQL-python
sudo pip2.7 install MySQL-python
在第一张照片中我看到:
error: Setup script exited with error: command 'gcc' failed with exit status 1
在第二个例子中:
Command "/usr/local/bin/python2.7 -u -c "import setuptools, tokenize;file='/tmp/pip-build-nySVuQ/MySQL-python/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-eC4DGP-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-nySVuQ/MySQL-python/
有解决的可能吗?你知道吗
提前谢谢
目前没有回答
相关问题 更多 >
编程相关推荐