参考: fatal error: Python.h: No such file or directory Ubuntu下 fatal error: Python.h: No such file or directory 解决方法 根据使用的Python版本安装python-dev库 ...
出现No such file or directory的错误,有两种情况,一种是没有Python.h这个文件,一种是Python的版本不对, 可以进入 usr include 文件夹下的Pythonx.x文件夹里查找是否有Python.h这个文件。 如果是第一种情况,那么需要安装python dev这个包, sudo apt get install python dev 。 这里记录一下,原文转 ...
2018-09-22 22:54 0 31538 推荐指数:
参考: fatal error: Python.h: No such file or directory Ubuntu下 fatal error: Python.h: No such file or directory 解决方法 根据使用的Python版本安装python-dev库 ...
安装python2.7对应的dev 安装python3.6对应的dev ...
这个错误是通过source code安装PyGeSQL时遇到的 另外还有一个错误可以通过下面的solution来解决 Solution 目录/usr/include/python2.6/缺少Python.h文件 ...
今天安装scrapy 先说下环境 Ubuntu16.04 系统默认Python 2.7.12 (default, Nov 19 2016, 06:48:10) ,安装过anaconda(很关键,里面有好多系统包,也是为什么此工具不十分依赖系统环境的原因,否则单独装matplotlib也是难 ...
vim make 出现: if_python3.c:69:10: fatal error: Python.h: 没有那个文件或目录 69 | #include <Python.h> | ^~~~~~~~~~compilation ...
安装uwsgi 报错“fatal error: Python.h: No such file or directory” 一看找不到python.h,肯定是依赖问题,网上一搜,基本答案都是安装 python ...
plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory 一般是没有安装 造成的 然后 安装uwsgi最好把 python ...
在linux命令行安装包时报错 src/MD2.c:31:20: fatal error: Python.h: No such file or directory 原因:缺少了python的dev 解决方法: ...