当前位置:Gxlcms > 数据库问题 > 安装mysql-python时报错

安装mysql-python时报错

时间:2021-07-01 10:21:17 帮助过:26人阅读

/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

 

安装mysql-python时报错

标签:evel   报错   getattr   安装mysql   setup.py   时报   get   com   pre   

人气教程排行