Collecting uwsgi
Using cached uWSGI-2.0.19.1.tar.gz (803 kB)
Building wheels for collected packages: uwsgi
Building wheel for uwsgi (setup.py) … error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-ql2quzrl/uwsgi/setup.py’"’"’; file=’"’"’/tmp/pip-install-ql2quzrl/uwsgi/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ bdist_wheel -d /tmp/pip-wheel-z073i90q
cwd: /tmp/pip-install-ql2quzrl/uwsgi/
Complete output (93 lines):
/usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: ‘descriptions’
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build/lib
copying uwsgidecorators.py -> build/lib
installing to build/bdist.linux-x86_64/wheel
running install
using profile: buildconf/default.ini
detected include path: [’/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include’, ‘/usr/local/include’, ‘/usr/include’]
Patching “bin_name” to properly install_scripts dir
detected CPU cores: 1
configured CFLAGS: -O2 -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-format -Wno-format-security -DUWSGI_HAS_IFADDRS -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY -DUWSGI_VERSION="“2.0.19.1"” -DUWSGI_VERSION_BASE=“2” -DUWSGI_VERSION_MAJOR=“0” -DUWSGI_VERSION_MINOR=“19” -DUWSGI_VERSION_REVISION=“1” -DUWSGI_VERSION_CUSTOM="""" -DUWSGI_YAML -DUWSGI_PLUGIN_DIR=""."" -DUWSGI_DECLARE_EMBEDDED_PLUGINS=“UDEP(python);UDEP(gevent);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rrdtool);UDEP(carbon);UDEP(rpc);UDEP(corerouter);UDEP(fastrouter);UDEP(http);UDEP(ugreen);UDEP(signal);UDEP(syslog);UDEP(rsyslog);UDEP(logsocket);UDEP(router_uwsgi);UDEP(router_redirect);UDEP(router_basicauth);UDEP(zergpool);UDEP(redislog);UDEP(mongodblog);UDEP(router_rewrite);UDEP(router_http);UDEP(logfile);UDEP(router_cache);UDEP(rawrouter);UDEP(router_static);UDEP(sslrouter);UDEP(spooler);UDEP(cheaper_busyness);UDEP(symcall);UDEP(transformation_tofile);UDEP(transformation_gzip);UDEP(transformation_chunked);UDEP(transformation_offload);UDEP(router_memcached);UDEP(router_redis);UDEP(router_hash);UDEP(router_expires);UDEP(router_metrics);UDEP(transformation_template);UDEP(stats_pusher_socket);” -DUWSGI_LOAD_EMBEDDED_PLUGINS=“ULEP(python);ULEP(gevent);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rrdtool);ULEP(carbon);ULEP(rpc);ULEP(corerouter);ULEP(fastrouter);ULEP(http);ULEP(ugreen);ULEP(signal);ULEP(syslog);ULEP(rsyslog);ULEP(logsocket);ULEP(router_uwsgi);ULEP(router_redirect);ULEP(router_basicauth);ULEP(zergpool);ULEP(redislog);ULEP(mongodblog);ULEP(router_rewrite);ULEP(router_http);ULEP(logfile);ULEP(router_cache);ULEP(rawrouter);ULEP(router_static);ULEP(sslrouter);ULEP(spooler);ULEP(cheaper_busyness);ULEP(symcall);ULEP(transformation_tofile);ULEP(transformation_gzip);ULEP(transformation_chunked);ULEP(transformation_offload);ULEP(router_memcached);ULEP(router_redis);ULEP(router_hash);ULEP(router_expires);ULEP(router_metrics);ULEP(transformation_template);ULEP(stats_pusher_socket);”
*** uWSGI compiling server core ***
[gcc -pthread] core/utils.o
[gcc -pthread] core/protocol.o
[gcc -pthread] core/socket.o
[gcc -pthread] core/logging.o
[gcc -pthread] core/master.o
[gcc -pthread] core/master_utils.o
[gcc -pthread] core/emperor.o
[gcc -pthread] core/notify.o
[gcc -pthread] core/mule.o
[gcc -pthread] core/subscription.o
[gcc -pthread] core/stats.o
[gcc -pthread] core/sendfile.o
[gcc -pthread] core/async.o
[gcc -pthread] core/master_checks.o
[gcc -pthread] core/fifo.o
[gcc -pthread] core/offload.o
[gcc -pthread] core/io.o
[gcc -pthread] core/static.o
[gcc -pthread] core/websockets.o
[gcc -pthread] core/spooler.o
[gcc -pthread] core/snmp.o
[gcc -pthread] core/exceptions.o
[gcc -pthread] core/config.o
[gcc -pthread] core/setup_utils.o
[gcc -pthread] core/clock.o
[gcc -pthread] core/init.o
[gcc -pthread] core/buffer.o
[gcc -pthread] core/reader.o
[gcc -pthread] core/writer.o
[gcc -pthread] core/alarm.o
[gcc -pthread] core/cron.o
[gcc -pthread] core/hooks.o
[gcc -pthread] core/plugins.o
[gcc -pthread] core/lock.o
[gcc -pthread] core/cache.o
[gcc -pthread] core/daemons.o
[gcc -pthread] core/errors.o
[gcc -pthread] core/hash.o
[gcc -pthread] core/master_events.o
[gcc -pthread] core/chunked.o
[gcc -pthread] core/queue.o
[gcc -pthread] core/event.o
[gcc -pthread] core/signal.o
[gcc -pthread] core/strings.o
[gcc -pthread] core/progress.o
[gcc -pthread] core/timebomb.o
[gcc -pthread] core/ini.o
[gcc -pthread] core/fsmon.o
[gcc -pthread] core/mount.o
[gcc -pthread] core/metrics.o
[gcc -pthread] core/plugins_builder.o
[gcc -pthread] core/sharedarea.o
[gcc -pthread] core/rpc.o
[gcc -pthread] core/gateway.o
[gcc -pthread] core/loop.o
[gcc -pthread] core/cookie.o
[gcc -pthread] core/querystring.o
[gcc -pthread] core/rb_timers.o
[gcc -pthread] core/transformations.o
[gcc -pthread] core/uwsgi.o
[gcc -pthread] proto/base.o
[gcc -pthread] proto/uwsgi.o
[gcc -pthread] proto/http.o
[gcc -pthread] proto/fastcgi.o
[gcc -pthread] proto/scgi.o
[gcc -pthread] proto/puwsgi.o
[gcc -pthread] lib/linux_ns.o
[gcc -pthread] core/yaml.o
[gcc -pthread] core/dot_h.o
[gcc -pthread] core/config_py.o
*** uWSGI compiling embedded plugins ***
[gcc -pthread] plugins/python/python_plugin.o
In file included from plugins/python/python_plugin.c:1:0:
plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.

ERROR: Failed building wheel for uwsgi
Running setup.py clean for uwsgi
Failed to build uwsgi
Installing collected packages: uwsgi
Running setup.py install for uwsgi … error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-ql2quzrl/uwsgi/setup.py’"’"’; file=’"’"’/tmp/pip-install-ql2quzrl/uwsgi/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record /tmp/pip-record-0no_26wr/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6m/uwsgi
cwd: /tmp/pip-install-ql2quzrl/uwsgi/
Complete output (86 lines):
/usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: ‘descriptions’
warnings.warn(msg)
running install
using profile: buildconf/default.ini
detected include path: [’/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include’, ‘/usr/local/include’, ‘/usr/include’]
Patching “bin_name” to properly install_scripts dir
detected CPU cores: 1
configured CFLAGS: -O2 -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-format -Wno-format-security -DUWSGI_HAS_IFADDRS -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY -DUWSGI_VERSION="“2.0.19.1"” -DUWSGI_VERSION_BASE=“2” -DUWSGI_VERSION_MAJOR=“0” -DUWSGI_VERSION_MINOR=“19” -DUWSGI_VERSION_REVISION=“1” -DUWSGI_VERSION_CUSTOM="""" -DUWSGI_YAML -DUWSGI_PLUGIN_DIR=""."" -DUWSGI_DECLARE_EMBEDDED_PLUGINS=“UDEP(python);UDEP(gevent);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rrdtool);UDEP(carbon);UDEP(rpc);UDEP(corerouter);UDEP(fastrouter);UDEP(http);UDEP(ugreen);UDEP(signal);UDEP(syslog);UDEP(rsyslog);UDEP(logsocket);UDEP(router_uwsgi);UDEP(router_redirect);UDEP(router_basicauth);UDEP(zergpool);UDEP(redislog);UDEP(mongodblog);UDEP(router_rewrite);UDEP(router_http);UDEP(logfile);UDEP(router_cache);UDEP(rawrouter);UDEP(router_static);UDEP(sslrouter);UDEP(spooler);UDEP(cheaper_busyness);UDEP(symcall);UDEP(transformation_tofile);UDEP(transformation_gzip);UDEP(transformation_chunked);UDEP(transformation_offload);UDEP(router_memcached);UDEP(router_redis);UDEP(router_hash);UDEP(router_expires);UDEP(router_metrics);UDEP(transformation_template);UDEP(stats_pusher_socket);” -DUWSGI_LOAD_EMBEDDED_PLUGINS=“ULEP(python);ULEP(gevent);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rrdtool);ULEP(carbon);ULEP(rpc);ULEP(corerouter);ULEP(fastrouter);ULEP(http);ULEP(ugreen);ULEP(signal);ULEP(syslog);ULEP(rsyslog);ULEP(logsocket);ULEP(router_uwsgi);ULEP(router_redirect);ULEP(router_basicauth);ULEP(zergpool);ULEP(redislog);ULEP(mongodblog);ULEP(router_rewrite);ULEP(router_http);ULEP(logfile);ULEP(router_cache);ULEP(rawrouter);ULEP(router_static);ULEP(sslrouter);ULEP(spooler);ULEP(cheaper_busyness);ULEP(symcall);ULEP(transformation_tofile);ULEP(transformation_gzip);ULEP(transformation_chunked);ULEP(transformation_offload);ULEP(router_memcached);ULEP(router_redis);ULEP(router_hash);ULEP(router_expires);ULEP(router_metrics);ULEP(transformation_template);ULEP(stats_pusher_socket);”
*** uWSGI compiling server core ***
core/utils.o is up to date
core/protocol.o is up to date
core/socket.o is up to date
core/logging.o is up to date
core/master.o is up to date
core/master_utils.o is up to date
core/emperor.o is up to date
core/notify.o is up to date
core/mule.o is up to date
core/subscription.o is up to date
core/stats.o is up to date
core/sendfile.o is up to date
core/async.o is up to date
core/master_checks.o is up to date
core/fifo.o is up to date
core/offload.o is up to date
core/io.o is up to date
core/static.o is up to date
core/websockets.o is up to date
core/spooler.o is up to date
core/snmp.o is up to date
core/exceptions.o is up to date
core/config.o is up to date
core/setup_utils.o is up to date
core/clock.o is up to date
core/init.o is up to date
core/buffer.o is up to date
core/reader.o is up to date
core/writer.o is up to date
core/alarm.o is up to date
core/cron.o is up to date
core/hooks.o is up to date
core/plugins.o is up to date
core/lock.o is up to date
core/cache.o is up to date
core/daemons.o is up to date
core/errors.o is up to date
core/hash.o is up to date
core/master_events.o is up to date
core/chunked.o is up to date
core/queue.o is up to date
core/event.o is up to date
core/signal.o is up to date
core/strings.o is up to date
core/progress.o is up to date
core/timebomb.o is up to date
core/ini.o is up to date
core/fsmon.o is up to date
core/mount.o is up to date
core/metrics.o is up to date
core/plugins_builder.o is up to date
core/sharedarea.o is up to date
core/rpc.o is up to date
core/gateway.o is up to date
core/loop.o is up to date
core/cookie.o is up to date
core/querystring.o is up to date
core/rb_timers.o is up to date
core/transformations.o is up to date
core/uwsgi.o is up to date
proto/base.o is up to date
proto/uwsgi.o is up to date
proto/http.o is up to date
proto/fastcgi.o is up to date
proto/scgi.o is up to date
proto/puwsgi.o is up to date
lib/linux_ns.o is up to date
core/yaml.o is up to date
[gcc -pthread] core/dot_h.o
[gcc -pthread] core/config_py.o
*** uWSGI compiling embedded plugins ***
[gcc -pthread] plugins/python/python_plugin.o
In file included from plugins/python/python_plugin.c:1:0:
plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-ql2quzrl/uwsgi/setup.py’"’"’; file=’"’"’/tmp/pip-install-ql2quzrl/uwsgi/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record /tmp/pip-record-0no_26wr/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6m/uwsgi Check the logs for full command output.

pip install uwsgi 报这样的错误 大佬们 这是什么原因?????????

安装uwsgi 报错 是什么原因??相关推荐

  1. linux python3安装uwsgi报错问题解决

    当我运行 pip3 install uwsgi 出现了如下的报错信息 WARNING: Running pip install with root privileges is generally no ...

  2. centos7安装uwsgi报错_如何将CentOS 7升级到CentOS 8

    在本文中,您将学习如何将CentOS 7升级到CentOS 8.本文描述的步骤尚未描述正式升级,因此不能应用于生产服务器. ​ Upgrade-CentOS-7-to-CentOS-8 步骤1:安装E ...

  3. 安装uwsgi报错:error linking uWSGI解决方法

    原因:anaconda3中的一些bug 解决方法: conda config --add channels conda-forg conda install uwsgi 到此已经安装完成了,可以使用p ...

  4. python3.6.6安装插件_linux python3.6安装uwsgi报错

    安装uswgi时总是报如下错误,请问该如何处理 [root@localhost ~]# sudo python3 -m pip install uwsgi Collecting uwsgi Using ...

  5. adb 安装apk报错Failure [INSTALL_FAILED_TEST_ONLY:]

    同样的debug apk在as上安装没任何问题,但是用adb命令安装却报错:INSTALL_FAILED_TEST_ONLY 原因:as安装apk时会给清单文件的application节点里加上tes ...

  6. windows下 python 使用 pip 安装TA-Lib报错的原因及解决方法

    windows下 python 使用 pip 安装TA-Lib报错的原因及解决方法 问题环境 问题描述 问题原因 & 解决办法 问题环境 Windows 10 x64 .python 3.8. ...

  7. 安装npm报错rollbackFailedOptional: verb npm-session原因及解决方案

    安装npm报错rollbackFailedOptional: verb npm-session原因及解决方案 今天想安装一个echart做柱形图之类的,结果输入后终端显示rollbackFailedO ...

  8. anconda安装后命令行中安装tensorflow报错

    现象  anconda安装后命令行中安装tensorflow报错 pip install --upgrade --ignore-installed tensorflow-gpu Building wh ...

  9. 安装yaml报错:ERROR: Cannot uninstall 'PyYAML'.

    安装yaml报错:ERROR: Cannot uninstall 'PyYAML'. 文章目录: 一.错误原因分析 二.最终错误解决方式 一.错误原因分析 1.开始安装 我是一开始安装yaml,使用命 ...

最新文章

  1. java校验字符串是否为json格式
  2. Microsoft.Jet.OLEDB.4.0”提供程序不支持 ITransactionLocal 接口。本地事务不可用于当前提供程序...
  3. python编程300例_经典编程100例——python版(例75)
  4. 【项目管理】项目问题应对思路
  5. codeforces 1041a(水题)
  6. java调用kafka
  7. 基础线性规划实现---python
  8. Mint-UI框架router-link返回上一页的方法 - 踩坑篇
  9. 算法提高 理财计划(java)
  10. java emmt插件_Emmet缩写语法
  11. 计算机系统的工作方式,计算机的操作系统与工作方式
  12. 三菱modbusRTU通讯实例_施耐德PLC常见的两种编程通讯控制实例
  13. java设计模式---创建者模式
  14. 清新漂亮简约好看的个人博客网站模板
  15. mysql--学生表
  16. 外币兑换c语言编程,货币转换 C
  17. 考研—操作系统—进程管理
  18. 微信小程序用户昵称表情字符储存的方案
  19. 不同的靶材(Cu,Cr,Co,Mo,Fe靶)对XRD谱有什么影响
  20. ThinkPHP5远程代码执行漏洞

热门文章

  1. 企业微信添加微信好友失败怎么办?
  2. vultr最多可以开几台服务器,Vultr服务器添加多个IP实现Vultr多线服务器的方法与教程...
  3. 毕业三到五年,别让“努力”毁了你--唯有提升个人实力才是王道
  4. 真正带你搞懂RecyclerView的缓存机制,Android岗
  5. 银行手续费收取标准,你知道吗
  6. 【OBS】OBS Studio 的安装、参数设置和录屏、摄像头使用教程
  7. 大物下(大学物理知识点回顾与典型题解析
  8. 悟透JavaScript - 对象素描
  9. 黑苹果 MacOS 10.15 Catalina安装教程
  10. 越来越快的jsRuntime——Bun