plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory

装一台新服务器环境的时候,装uwsgi报错:

plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory
 #include <Python.h>

查了一下解决办法:

yum install python-devel.x86_64

 

之后再运行安装,问题解决。

时间: 2024-10-07 02:06:44

plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory的相关文章

/usr/include/glib-2.0/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory

cc -DDEBUG -mtune=core2 -O2 \ -onvideo nvideo.c \ -I/usr/include/atk-1.0 \ -I/usr/include/cairo \ -I/usr/include/gdk-pixbuf-2.0 \ -I/usr/include/glib-2.0 \ -I/usr/include/gtk-3.0 \ -I/usr/include/pango-1.0 \ -I/usr/include/libxml2 \ -I/usr/lib/x86_64

src/core/ngx_regex.h:15:18: fatal error: pcre.h: No such file or directory

make nginx报错 解决方案:apt-get install libpcre3-dev

编译Busybox时,出现错误fatal error: curses.h: No such file or directory

1 scripts/kconfig/mconf.c: In function ‘exec_conf’: 2 scripts/kconfig/mconf.c:481:2: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] 3 pipe(pipefd); 4 ^ 5 SHIPPED scripts/kconfig/zconf.tab.c 6 SH

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

[常见错误] fatal error: Python.h: No such file or directory 环境场景 系统: Parrot Linux软件: 系统python默认版本2.7 PyCharm默认版本Python3.5场景: Build pycrypto-2.6.1 失败提示: building 'Crypto.PublicKey._fastmath' extension x86_64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-p

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

/usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory apt-get update apt-get install libpcre3 libpcre3-dev

_mysql.c(42) : fatal error C1083: Cannot open include file: &#39;config-win.h&#39;:问题的解决 mysql安装python

在win7下安装了Python后,想安装python-MySQL,使用pip安装出现如下问题: >pip install MySQL-python _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory error: command '"C:\Users\fnngj\AppData\Local\Programs\Common\Microsoft

Ubuntu下 fatal error: Python.h: No such file or directory 解决方法

参考: fatal error: Python.h: No such file or directory Ubuntu下 fatal error: Python.h: No such file or directory 解决方法 根据使用的Python版本安装python-dev库. sudo apt-get install python-dev # for python2.x installs sudo apt-get install python3-dev # for python3.x i

mysql-python 安装错误 fatal error C1083: Cannot open include file: &#39;config-win.h&#39;: No such file or directory

安装mysql-python之前, 请先安装setuptools. https://pypi.python.org/pypi/setuptools/7.0 下载mysql-python. 下载源码包. https://pypi.python.org/pypi/MySQL-python/1.2.5 解压后执行 python setup.py install 提示错误: fatal error C1083: Cannot open include file: 'config-win.h': No s

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

http://www.cnblogs.com/fnng/p/4115607.html http://www.crifan.com/python_install_module_mysql_mysqldb/comment-page-1/ ======================== 今天想在在win7 64位环境下使用python 操作mysql 在安装MySQL-python 时报错: _mysql.c _mysql.c(42) : fatal error C1083: Cannot open