pip install mysql-python时报:

Command "/usr/home/root/python2.7.14/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-yabeSc/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-fT9aIj-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-yabeSc/mysql-python/

原因:

未安装mysql-devel开发包

yum install mysql-devel

 

相关文章:

  • 2021-08-29
  • 2022-12-23
  • 2021-05-11
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
  • 2021-04-15
  • 2022-12-23
猜你喜欢
  • 2021-10-04
  • 2022-12-23
  • 2021-04-23
  • 2021-05-28
  • 2022-02-22
  • 2022-02-06
  • 2022-12-23
相关资源
相似解决方案