发布时间:2019-07-13 11:37:12编辑:auto阅读(1341)
_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
上一篇: 关于python中的IO流
下一篇: python命令行参数
47481
45784
36781
34306
28953
25587
24433
19604
19094
17624
5456°
6039°
5555°
5630°
6556°
5368°
5368°
5874°
5848°
7161°