Error:
system centos7.4 64-bit
python 2.7.5
plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory
#include < Python.h>
Command “/usr/ bin/python2-u-c” import setuptools, tokenize;
Command “/usr/ bin/python2-u-c” import setuptools, tokenize; The file = ‘/ TMP/PIP – build – r2TLym uwsgi/setup. Py “; F = getattr (tokenize, open, open) (file); Code = f.r ead (). The replace (‘ \ r \ n ‘, ‘\ n’); f.close(); exec(compile(code, file, ‘exec’)) “install –record/TMP/pip-jwt5ox-record /install-record. TXT –single-version –compile” failed with error code 1 in/TMP/pip-build-r2tlym /uwsgi/
Check the solution:
yum install python-devel.x86_64
Then run the installation and fix the problem.
Read More:
- fatal error: Python.h: No such file or directory compilation terminated.
- fatal error: Python.h: No such file or directory
- Fatal error in CentOS: Python. H: no that file or directory
- gcc /usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
- [C]fatal error: mysql.h: No such file or directory
- #During OpenGL development, fatal error C1083: can’t open include file: “GL / glut. H”: no such file or directory
- [Solved] Docker ubuntu swoole fatal error: openssl/ssl.h: No such file or directory
- [Caffe] fatal error: hdf5.h: No such file or directory error solution
- fatal error: openssl/bio.h: No such file or directory settlement programme
- Compiling the pi_kernel source code appears: fatal error: openssl/opensslv.h: No such file or directory
- caffe deep learning [three] compilation error: fatal error: hdf5.h: No such file or directory compilation terminated.
- Linux QT download / usr / include / C + + / 7/ cstdlib:75 : 15: fatal error: stdlib. H: no such file or directory error
- Cannot open include file: ‘io.h‘: No such file or directory
- A fatal error C1083 occurred when compiling C + + code under. Net: unable to open the include file: “xuhk”_ Jnihelloworld. H “: solution to no such file or directory error.
- RCurl error-fatal error: curl/curl.h: No such file or directory
- In VS2010, the compiler cannot open the file “GL / glaux. H”: no such file or directory
- Error: libipq. H: no such file or directory solution
- VS2010 compiler can’t open include file: “GL / glaux. H”: no such file or directory
- How to solve the problem of “unable to open include file:” graphics. H “: no such file or directory”
- 【linux】error: stdio.h: No such file or directory