首页 > 其他分享 >pip install uwsgi==2.0.23

pip install uwsgi==2.0.23

时间:2024-10-14 20:33:55浏览次数:4  
标签:ULEP UDEP python DUWSGI pip router 2.0 uwsgi

 

pip install uwsgi==2.0.23
Looking in indexes: http://mirrors.tencentyun.com/pypi/simple
Collecting uwsgi==2.0.23
  Downloading http://mirrors.tencentyun.com/pypi/packages/79/73/b5def500729e134d1cb8dfc334e27fa2e9cfd4e639c1f60c6532d40edaed/uwsgi-2.0.23.tar.gz (810 kB)
     |████████████████████████████████| 810 kB 906 kB/s            
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: uwsgi
  Building wheel for uwsgi (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /root/guolei/backend/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2l6lqq97/uwsgi_ceeaec128517412f920a8fff437b7daf/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2l6lqq97/uwsgi_ceeaec128517412f920a8fff437b7daf/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ekd1a9bv
       cwd: /tmp/pip-install-2l6lqq97/uwsgi_ceeaec128517412f920a8fff437b7daf/
  Complete output (109 lines):
  /root/guolei/backend/venv/lib/python3.6/site-packages/setuptools/dist.py:726: UserWarning: Usage of dash-separated 'index-url' will not be supported in future versions. Please use the underscore name 'index_url' instead
    % (opt, underscore_opt)
  /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
  /root/guolei/backend/venv/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
    setuptools.SetuptoolsDeprecationWarning,
  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: 2
  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_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY  -DUWSGI_PCRE -DUWSGI_ROUTING -DUWSGI_UUID -DUWSGI_VERSION="\"2.0.23\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="23" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_YAML -DUWSGI_SSL -DUWSGI_XML -DUWSGI_XML_EXPAT -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 ***
  [thread 1][gcc -pthread] core/utils.o
 .........
  [thread 0][gcc -pthread] core/xmlconf.o
  [thread 0][gcc -pthread] core/dot_h.o
  [thread 0][gcc -pthread] core/config_py.o
  *** uWSGI compiling embedded plugins ***
  [thread 0][gcc -pthread] plugins/python/python_plugin.o
  [thread 1][gcc -pthread] plugins/python/pyutils.o
  In file included from plugins/python/python_plugin.c:1:0:
  plugins/python/uwsgi_python.h:4:20: fatal error: Python.h: No such file or directory
   #include <Python.h>
                      ^
  compilation terminated.
  In file included from plugins/python/pyutils.c:1:0:
  plugins/python/uwsgi_python.h:4: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: /root/guolei/backend/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2l6lqq97/uwsgi_ceeaec128517412f920a8fff437b7daf/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2l6lqq97/uwsgi_ceeaec128517412f920a8fff437b7daf/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-9z68yqgu/install-record.txt --single-version-externally-managed --compile --install-headers /root/guolei/backend/venv/include/site/python3.6/uwsgi
         cwd: /tmp/pip-install-2l6lqq97/uwsgi_ceeaec128517412f920a8fff437b7daf/
    Complete output (102 lines):
    /root/guolei/backend/venv/lib/python3.6/site-packages/setuptools/dist.py:726: UserWarning: Usage of dash-separated 'index-url' will not be supported in future versions. Please use the underscore name 'index_url' instead
      % (opt, underscore_opt)
    /usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'descriptions'
      warnings.warn(msg)
    running install
    /root/guolei/backend/venv/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      setuptools.SetuptoolsDeprecationWarning,
    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: 2
    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_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY  -DUWSGI_PCRE -DUWSGI_ROUTING -DUWSGI_UUID -DUWSGI_VERSION="\"2.0.23\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="23" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_YAML -DUWSGI_SSL -DUWSGI_XML -DUWSGI_XML_EXPAT -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/legion.o is up to date
    core/xmlconf.o is up to date
    [thread 1][gcc -pthread] core/dot_h.o
    [thread 0][gcc -pthread] core/config_py.o
    *** uWSGI compiling embedded plugins ***
    [thread 1][gcc -pthread] plugins/python/python_plugin.o
    [thread 0][gcc -pthread] plugins/python/pyutils.o
    In file included from plugins/python/python_plugin.c:1:0:
    plugins/python/uwsgi_python.h:4:20: fatal error: Python.h: No such file or directory
     #include <Python.h>
                        ^
    compilation terminated.
    In file included from plugins/python/pyutils.c:1:0:
    plugins/python/uwsgi_python.h:4:20: fatal error: Python.h: No such file or directory
     #include <Python.h>
                        ^
    compilation terminated.
    ----------------------------------------
ERROR: Command errored out with exit status 1: /root/guolei/backend/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2l6lqq97/uwsgi_ceeaec128517412f920a8fff437b7daf/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2l6lqq97/uwsgi_ceeaec128517412f920a8fff437b7daf/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-9z68yqgu/install-record.txt --single-version-externally-managed --compile --install-headers /root/guolei/backend/venv/include/site/python3.6/uwsgi Check the logs for full command output.
(venv) [root@VM-8-12-centos bin]#

 

标签:ULEP,UDEP,python,DUWSGI,pip,router,2.0,uwsgi
From: https://www.cnblogs.com/emanlee/p/18388154

相关文章

  • 百度数字人Ai直播2.0,无需露脸
    百度数字人AI直播2.0技术解析与应用探索在数字化转型的浪潮中,人工智能(AI)技术的创新应用正不断拓宽商业模式的边界。百度,作为国内领先的AI技术提供商,近期推出的数字人AI直播2.0平台,为电商直播领域带来了革命性的变革。该平台无需主播露脸,通过智能化手段轻松实现被动收入,为......
  • adminPage-vue3依赖 v1.2.0新增组件 DetailsModule说明文档
    adminPage-vue3依赖v1.2.0新增组件DetailsModule说明文档引入思路介绍DetailsModuleAPI汇总属性插槽自定义对象config(array<object\>/object类型)config.list(array<object\>类型)使用基础使用范例config-titleconfig-moduleKeyconfig-listconfig-list-slotNamec......
  • 高速USB2.0电路设计指南
    高速USB2.0电路设计指南“高速USB2.0设计指南”为设计者在WCH芯片使用USB2.0进行PCB设计时提供设计建议和注意事项。目录1简介.............................................52USB2.0PCB设计要点....................52.1一般设计要点............................52......
  • 免费给女友做AI写真大片!1分钟快速教程,即梦2.0三步搞定
    大家是否还记得几个月前,很火的AI写真,直到现在也依然有很多人依然在各个平台进行教学,或者接单给大家做AI写真。今天就给大家分享一种,最简单且免费的方法,给女朋友做一套写真大片。下图就是示例:想要学习的小伙伴不要着急,我花1分钟快速教会你。其实并不复杂,使用即梦2.0三步......
  • Nacos-2.0.4 安装
    1、配置环境变量正确安装好JDK11、并配置JAVA_HOME环境变量2、安装Nacos​ 将Nacos压缩包解压到英文目录下即可3、导入SQL创建名为nacos的数据库导入nacos\conf\nacos-mysql.sql文件到nacos数据库中修改nacos\conf\application.properties配置文件4、启动Nacos进入nac......
  • 清除 删除 pip包
    步骤:列出所有已安装的包:使用 piplist 命令列出当前环境中所有安装的包。<BASH>piplist卸载所有包:你可以通过 pipfreeze 和 xargs 命令来批量卸载所有包。<BASH>pipfreeze|xargspipuninstall-y这个命令的工作原理是:pipfreeze 列出所有包及其版本......
  • 博客美化:live2d看板娘使用指南2.0
    功能说明过了这么久,终于也是把支持3.0模型的live2d搞出来了,此版本使用了guansss大佬写的pixi-live2d-display作为框架,支持了全部模型的同时,也对后端模型的列表文件结构和以前的文本文件进行了些修改,总之就是增强了模型的角色表现力,让老婆们更加生动(味大,无需多盐)基础配置如果......
  • Android12.0 需求开发篇+问题解决篇之IPC socket通信
    1.需求描述        应用组C程序客户端和Android系统层Java服务端进行通信需求,这里其实在Android系统下IPC的方式有很多,像Binder作为Android特有的跨进程通信,但是应用组的同事之前是非Android系统下进行应用开发,使用的都是socket这种通用IPC通信。这里为兼容应用组代码......
  • 等保2.0合规整改
    互联网医院整改修复记录:1、业务系统1.1、登录失败次数超阈值账号锁定策略--已处理--下周更新版本解决。1.2、业务系统日志添加6个月日志留存--已处理,日志备份策略脚本。1.3、业务系统druid高危漏洞--已处理。2、数据库2.1、binlog留存6个月--添加备份策略6个月内全量及binlo......
  • Screenpipe:革命性的AI驱动个人数据管理工具
    引言:数字时代的个人数据革命在这个信息爆炸的数字时代,我们每天都在产生海量的个人数据。从工作中的屏幕活动到日常生活中的语音交互,这些数据蕴含着巨大的价值。然而,如何有效地捕捉、管理和利用这些数据,一直是一个挑战。Screenpipe应运而生,它不仅解决了这个问题,还开创了个人数据管......