在linux机器上安装p4python时出现致命错误。
组态:
Python 2.7.5 os:fedora
以下是我在安装“p4python”时得到的消息:
objective-c编译错误
从另一台机器同一networking访问Django devserver
使用Nginx + PHP-FPM访问被拒绝(403)PHP文件
$ pip install p4python creating build/lib.linux-x86_64-2.7 copying P4.py -> build/lib.linux-x86_64-2.7 running build_ext building 'P4API' extension creating build/temp.linux-x86_64-2.7 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DID_OS="LINUX31X86_64" -DID_REL="2015.1.MAIN" -DID_PATCH="1058604" -DID_API="2015.1/1054991" -DID_Y="2015" -DID_M="05" -DID_D="12" -I/tmp/p4api-2015.1.1054991 -I/tmp/p4api-2015.1.1054991/include/p4 -I/usr/include/python2.7 -c P4API.cpp -o build/temp.linux-x86_64-2.7/P4API.o -DOS_LINUX -DOS_LINUX31 -DOS_LINUXX86_64 -DOS_LINUX31X86_64 P4API.cpp:39:20: Fatal error: Python.h: No such file or directory #include <Python.h> ^ compilation terminated. error: command 'gcc' Failed with exit status 1 ----------------------------------------
在Fedora 22上安装Python的TripleSec库
为什么这个bash expr命令不工作?
libstdc ++。so.5:无法打开共享对象文件 – 但安装了库并且是最新的
Linux的初学者,在哪里把增强图书馆?
在Linux中运行.pkg文件
你需要安装Python头文件如下所示:
yum install python-devel
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。