`
ezzze
  • 浏览: 41247 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

fatal error: Python.h: No such file or directory

阅读更多
running build

running build_py

copying xattr/__init__.py -> build/lib.linux-x86_64-2.7/xattr

copying xattr/constants.py -> build/lib.linux-x86_64-2.7/xattr

copying xattr/tool.py -> build/lib.linux-x86_64-2.7/xattr

running build_ext

building 'xattr._xattr' extension

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xattr/_xattr.c -o build/temp.linux-x86_64-2.7/xattr/_xattr.o

xattr/_xattr.c:1:20: fatal error: Python.h: No such file or directory


找了下python环境, 确实没有这玩意,所以就搜索了下,发现是在python-dev包里。

安装新版本的MYSQLDB 也要这玩意.....

Solved by following command:

apt-get install python-dev

分享到:
评论

相关推荐

    VS2010C++调用python报错无法打开包括文件:“inttypes.h”: No such file or directory解决方法

    VS2010没有inttypes.h文件,程序运行时无法打开包括文件:“inttypes.h”: No such file or directory,解决方案。

    fatal error C1083: Cannot open include file:config-win.h修复工具.rar

    网友分享的能够解决fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory问题的程序。MySQL-python-1.2.3.win32-py2.7.exe-32位MySQL-python-1.2.3.win-amd64-py...

    MySQL-Python安装问题小记

    ImportError: libmysqlclient_r.so.16: cannot open shared object file: No such file or directory 于是google之,总结一下解决方法: (1)在mysql-ython的安装目录下找到site.cfg,将 #mysql_config = ...

    such.less:CSS样板。 整理您的项目设置。 着地奔跑

    少 这样少。 许多提前。 所以CSS。 哇。 为什么 使设置现代前端 CSS 成为高效、结构化和有趣的事情。 为了克服现代网页设计固有的复杂性,我们在使用 LessCSS 进行前端项目时发现了惊人... such.less 包含大部分 .less

    Python2.7安装MYSQL库各种支撑库及资源

    _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27 希望软件对您...

    Python安装MySQL安装包 64位 py2.7 [exe文件]

    Python安装MySQL文件,EXE文件 ..._mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory 原来还是驱动问题,不管mysql的事。 希望该安装包对你有所帮助~

    pcapy-0.11.4

    pcapy版本0.11.4 python 3.7,3.8,3.9 x64 支持winpcap 4.1.3版本和早期版本, pcapy-0.11.4-cp37-cp37m-win_amd...pcapdumper.cc(11): fatal error C1083: 无法打开包括文件: “pcap.h”: No such file or directory

    Tesserocr库的正确安装方式

    tesserocr.cpp(596): fatal error C1083: 无法打开包括文件: “ leptonica/allheaders.h ”: No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl...

    msinttypes-r26.zip 下载

    解决 python安装: 'stdint.h': No such file or directory 报错信息: fatal error C1083: Cannot open in clude file: 'stdint.h': No such file or directory

    sminttypes-r26

    fatal error C1083: 无法打开包括文件:“stdint.h”: No such file or directory stdint.h是c99标准的头文件,vc不支持,所以肯定会提示“No such file or directory”的。 解决办法: 解压后会得到三个文件,把...

    MySQL-python-1.2.3.win-amd64-py2.7.exe

    win7 64 安装mysql-python:_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory

    pcapy-0.11.4-cp37-cp37m-win_amd64.whl

    pcapy版本0.11.4 python 3.7 x64 支持winpcap 4.1.3版本和早期版本, 在 Windows 系统中的运行以下命令编译...pcapdumper.cc(11): fatal error C1083: 无法打开包括文件: “pcap.h”: No such file or directory

    mysql-connector-c-6.0.2-winx64.zip

    python在安装mysql支持模块时(pip install mysql)报错_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory,请下载此文件默认安装,这个是64位,安装完成后在...

    win10_yolov5_tensorRT

    将tensorrtx-master\yolov5文件夹下的gen_wts.py拷贝到ultralytics/yolov5文件夹下在当前目录下执行: python gen_wts.py最终我们会在当前目录下得到一个yolov5s.wts文件。3,vs2015环境建设这里我们使用别人已经编...

    lxml-3.6.4-win32安装包(whl).rar

    因在windows10 64bit中,python3.5下安装lxml失败,报gcc错误,提示“fatal error C1083: Cannot open include file: 'libxml/xpath.h': No such file or directory”以及“ Could not find function ...

    capstone2021实践

    您还可以使用make clean生成的文件pylintrc定义用于配置pylint / pytest.ini定义用于配置pytest 使用的Python库在requirements.txt中指定Jenkinsfile定义CI的步骤设置创建/激活虚拟环境python3 -m venv .venvsource...

    Windows下安装TA-Lib详细步骤及错误解决

    介绍windows下,python2.7,python3.5,32位,64位安装TA-Lib的步骤和错误解决方法,...talib\common.c(240) : fatal error C1083: Cannot open include file: 'ta_libc.h': No such file or directory报错的终极解决。

    Windows7下TA-Lib包的安装

    talib\common.c(240) : fatal error C1083: Cannot open include file: 'ta_libc.h': No such file or directory 使用上面提到的whl文件,pip install ***.whl即可。 参考内容: python27在windows环境安装talib...

    基于mediastreamer2的网络电话实现流程以及源码库

    error: /user/include/python2.7/pyconfig.h:15:52: fatal error: arm-linux-gnueabi/python2.7/pyconfig.h: No such file or directory compilation terminated. 分析::找不到arm-linux-gnueabi/python2.7/...

Global site tag (gtag.js) - Google Analytics