_Mysql.c: 在函数‘DL_EXPORT’中: _mysql.c:3058: 错误:expected declaration specifiers before ‘init_mysql’ _mysql.c:3166
_Mysql.c: 在函数‘DL_EXPORT’中:
_mysql.c:3058: 错误:expected declaration specifiers before ‘init_mysql’
_mysql.c:3166: 错误:expected ‘{’ at end of input
error: command 'GCc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-CiKuqe/MySQL-Python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ktToTH-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-CiKuqe/MySQL-python
yum -y install python-devel mysql-devel
--结束END--
本文标题: 安装MySQL-python报错
本文链接: https://lsjlt.com/news/183850.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0