php python uwsgi,python,uwsgi_uwsgi 安装报错,python,uwsgi - phpStudy
uwsgi 安装报错
pip install uwsgi 失败
Collecting uwsgi
Using cached uwsgi-2.0.13.1.tar.gz
Installing collected packages: uwsgi
Running setup.py install for uwsgi ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-omVSJq/uwsgi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-SEw5pP-record/install-record.txt --single-version-externally-managed --compile:
running install
using profile: buildconf/default.ini
detected include path: ['/usr/lib/gcc/x86_64-linux-gnu/5/include', '/usr/local/include', '/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed', '/usr/include/x86_64-linux-gnu', '/usr/include']
Patching "bin_name" to properly install_scripts dir
detected CPU cores: 1
configured CFLAGS: -O2 -I. -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY -I/usr/local/include -DUWSGI_PCRE -DUWSGI_ROUTING -DUWSGI_VERSION="\"2.0.13.1\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="13" -DUWSGI_VERSION_REVISION="1" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_YAML -DUWSGI_SSL -I/usr/include/libxml2 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -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 ***
[x86_64-linux-gnu-gcc -pthread] core/utils.o
[x86_64-linux-gnu-gcc -pthread] core/protocol.o
[x86_64-linux-gnu-gcc -pthread] core/socket.o
[x86_64-linux-gnu-gcc -pthread] core/logging.o
[x86_64-linux-gnu-gcc -pthread] core/master.o
[x86_64-linux-gnu-gcc -pthread] core/master_utils.o
[x86_64-linux-gnu-gcc -pthread] core/emperor.o
[x86_64-linux-gnu-gcc -pthread] core/notify.o
[x86_64-linux-gnu-gcc -pthread] core/mule.o
[x86_64-linux-gnu-gcc -pthread] core/subscription.o
[x86_64-linux-gnu-gcc -pthread] core/stats.o
[x86_64-linux-gnu-gcc -pthread] core/sendfile.o
[x86_64-linux-gnu-gcc -pthread] core/async.o
[x86_64-linux-gnu-gcc -pthread] core/master_checks.o
[x86_64-linux-gnu-gcc -pthread] core/fifo.o
[x86_64-linux-gnu-gcc -pthread] core/offload.o
[x86_64-linux-gnu-gcc -pthread] core/io.o
[x86_64-linux-gnu-gcc -pthread] core/static.o
[x86_64-linux-gnu-gcc -pthread] core/websockets.o
[x86_64-linux-gnu-gcc -pthread] core/spooler.o
[x86_64-linux-gnu-gcc -pthread] core/snmp.o
[x86_64-linux-gnu-gcc -pthread] core/exceptions.o
[x86_64-linux-gnu-gcc -pthread] core/config.o
[x86_64-linux-gnu-gcc -pthread] core/setup_utils.o
[x86_64-linux-gnu-gcc -pthread] core/clock.o
[x86_64-linux-gnu-gcc -pthread] core/init.o
[x86_64-linux-gnu-gcc -pthread] core/buffer.o
[x86_64-linux-gnu-gcc -pthread] core/reader.o
[x86_64-linux-gnu-gcc -pthread] core/writer.o
[x86_64-linux-gnu-gcc -pthread] core/alarm.o
[x86_64-linux-gnu-gcc -pthread] core/cron.o
[x86_64-linux-gnu-gcc -pthread] core/hooks.o
[x86_64-linux-gnu-gcc -pthread] core/plugins.o
[x86_64-linux-gnu-gcc -pthread] core/lock.o
[x86_64-linux-gnu-gcc -pthread] core/cache.o
[x86_64-linux-gnu-gcc -pthread] core/daemons.o
[x86_64-linux-gnu-gcc -pthread] core/errors.o
[x86_64-linux-gnu-gcc -pthread] core/hash.o
[x86_64-linux-gnu-gcc -pthread] core/master_events.o
[x86_64-linux-gnu-gcc -pthread] core/chunked.o
[x86_64-linux-gnu-gcc -pthread] core/queue.o
[x86_64-linux-gnu-gcc -pthread] core/event.o
[x86_64-linux-gnu-gcc -pthread] core/signal.o
[x86_64-linux-gnu-gcc -pthread] core/strings.o
[x86_64-linux-gnu-gcc -pthread] core/progress.o
[x86_64-linux-gnu-gcc -pthread] core/timebomb.o
[x86_64-linux-gnu-gcc -pthread] core/ini.o
[x86_64-linux-gnu-gcc -pthread] core/fsmon.o
[x86_64-linux-gnu-gcc -pthread] core/mount.o
[x86_64-linux-gnu-gcc -pthread] core/metrics.o
[x86_64-linux-gnu-gcc -pthread] core/plugins_builder.o
[x86_64-linux-gnu-gcc -pthread] core/sharedarea.o
[x86_64-linux-gnu-gcc -pthread] core/rpc.o
[x86_64-linux-gnu-gcc -pthread] core/gateway.o
[x86_64-linux-gnu-gcc -pthread] core/loop.o
[x86_64-linux-gnu-gcc -pthread] core/cookie.o
[x86_64-linux-gnu-gcc -pthread] core/querystring.o
[x86_64-linux-gnu-gcc -pthread] core/rb_timers.o
[x86_64-linux-gnu-gcc -pthread] core/transformations.o
[x86_64-linux-gnu-gcc -pthread] core/uwsgi.o
[x86_64-linux-gnu-gcc -pthread] proto/base.o
[x86_64-linux-gnu-gcc -pthread] proto/uwsgi.o
[x86_64-linux-gnu-gcc -pthread] proto/http.o
[x86_64-linux-gnu-gcc -pthread] proto/fastcgi.o
[x86_64-linux-gnu-gcc -pthread] proto/scgi.o
[x86_64-linux-gnu-gcc -pthread] proto/puwsgi.o
[x86_64-linux-gnu-gcc -pthread] lib/linux_ns.o
[x86_64-linux-gnu-gcc -pthread] core/zlib.o
[x86_64-linux-gnu-gcc -pthread] core/regexp.o
[x86_64-linux-gnu-gcc -pthread] core/routing.o
[x86_64-linux-gnu-gcc -pthread] core/yaml.o
[x86_64-linux-gnu-gcc -pthread] core/ssl.o
core/ssl.c: In function ‘uwsgi_ssl_init’:
core/ssl.c:17:9: error: ‘OPENSSL_config’ is deprecated [-Werror=deprecated-declarations]
OPENSSL_config(NULL);
^
In file included from /usr/local/include/openssl/crypto.h:32:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from ./uwsgi.h:356,
from core/ssl.c:1:
/usr/local/include/openssl/conf.h:92:1: note: declared here
DEPRECATEDIN_1_1_0(void OPENSSL_config(const char *config_name))
^
core/ssl.c: In function ‘uwsgi_ssl_info_cb’:
core/ssl.c:26:24: error: dereferencing pointer to incomplete type ‘SSL {aka const struct ssl_st}’
if (ssl->s3) {
^
core/ssl.c: In function ‘uwsgi_ssl_session_new_cb’:
core/ssl.c:62:69: error: dereferencing pointer to incomplete type ‘SSL_SESSION {aka struct ssl_session_st}’
if (uwsgi_cache_set2(uwsgi.ssl_sessions_cache, (char *) sess->session_id, sess->session_id_length, session_blob, len, uwsgi.ssl_sessions_timeout, 0)) {
^
core/ssl.c: In function ‘uwsgi_ssl_new_server_context’:
core/ssl.c:408:46: error: passing argument 2 of ‘SSL_CTX_sess_set_get_cb’ from incompatible pointer type [-Werror=incompatible-pointer-types]
SSL_CTX_sess_set_get_cb(ctx, uwsgi_ssl_session_get_cb);
^
In file included from ./uwsgi.h:357:0,
from core/ssl.c:1:
/usr/local/include/openssl/ssl.h:618:6: note: expected ‘SSL_SESSION * (*)(struct ssl_st *, const unsigned char *, int, int *) {aka struct ssl_session_st * (*)(struct ssl_st *, const unsigned char *, int, int *)}’ but argument is of type ‘SSL_SESSION * (*)(SSL *, unsigned char *, int, int *) {aka struct ssl_session_st * (*)(struct ssl_st *, unsigned char *, int, int *)}’
void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx,
^
cc1: all warnings being treated as errors
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-omVSJq/uwsgi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-SEw5pP-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-omVSJq/uwsgi/
相关阅读:
怎么在 github 的 PR 或 issues 中添加 reference
Ionic列表中使用两种模板
C++c重载出错
使用雨林木风的onekeyghost备份我的win8.1报错
关于utf-8BOM问题
想要支持IPv6和AF3.0 ,podfile怎么写
sublime 2 和3 有什么区别?
用sql语句嵌入记录时,如何忽略记录中的一项
PHP:团队开发中如何搭建漏洞提交平台?
【官方比赛】社区 1111 秀代码,让你来秀让你飞!
cordova iOS项目修改项目名称
关于PHP的一点语法问题
android Button 如何设置border 效果, 如下图
HTML+JS替换struts2中的JSP充当view层
python3如何打开utf8的文件?(在windows中)
java中 static 表示静态 final表示常量?怎么使用的
WordPress 在首页使用 query_posts() 分页 404?
请问下使用PHP如何获取某个月的所有日期
JS自己做的的数字键盘 数字可以输入 但不响应input的事件
WebService 与SOA有什么联系与区别?
php python uwsgi,python,uwsgi_uwsgi 安装报错,python,uwsgi - phpStudy相关推荐
- python中使用pip安装报错:Fatal error in launcher... 解决方法
python中使用pip安装报错:Fatal error in launcher... 解决方法 参考文章: (1)python中使用pip安装报错:Fatal error in launcher.. ...
- Python之Datasets库安装报错的解决方法
Python之Datasets库安装报错的解决方法 Problem 想要run一下最近在看的有关Domain Adaptation的论文实现代码,文中使用了Datasets库,习惯性使用Anacond ...
- python的Scrapy框架安装报错:building 'twisted.test.raiser' extension error
python的Scrapy框架安装报错:building 'twisted.test.raiser' extension 在https://www.lfd.uci.edu/~gohlke/python ...
- 【Python】创建Vue项目报错python.EXE -c import sys; print “%s.%s.%s“ % sys.version_info[:3];
1.错误情况 gyp verb `which` succeeded python C:\Users\Software\Python\Python310\python.EXE gyp ERR! conf ...
- python库下载安装报错_python3.6下Numpy库下载与安装图文教程
今天在做Plotly的散点图时,需要Numpy 这个库的使用. 没有安装Numpy这个库的时候,报错一般是下图这样:ModuleNotFoundError: No module named 'nump ...
- Python——pip安装报错:is not a supported wheel on this platform
pip安装报错:is not a supported wheel on this platform 可能的原因1:安装的不是对应python版本的库,下载的库名中cp35代表python3.5,其它同 ...
- python导入requests库一直报错原因总结_python pip 安装库文件报错:pip install ImportError: No module named _internal...
centos6,python3,通过pip安装pycurl出现报错提示 Centos6.7系统,python3.6.7,通过 pip 安装pycurl出现报错: __main__.Configurat ...
- python安装过程中出现文件或目录损坏且无法读取_解决安装python库时windows error5 报错的问题...
python安装库时,有时候会报错windows error 5,可以尝试关闭所有使用python的编辑器.文件等,然后重新pip安装,如果还是不行,可以将报错最下层文件删除即可(如果不放心可以将该文 ...
- python安装失败找不到指定路径_解决安装python库时windows error5 报错的问题
python安装库时,有时候会报错windows error 5,可以尝试关闭所有使用python的编辑器.文件等,然后重新pip安装,如果还是不行,可以将报错最下层文件删除即可(如果不放心可以将该文 ...
最新文章
- AlphaCode到底强在哪儿?清华博士后十分钟视频详细解析
- 使用android SDk帮助文档(英文) 下载中文SDK帮助文档(中文)
- WP8开发日志(1):Toolkit的本地化
- 用cxSelect插件补充一下回显过滤项功能
- 09(maven+SSH)网上商城项目实战之使用jersey实现应用服务器和图片服务器分离...
- 编写一个简单的spring MVC程序
- 怎样实现一个简单的jQuery编程
- 复杂电网三相短路计算的matlab仿真,复杂电网三相短路计算的MATLAB仿真电力系统分析课设报告 - 图文...
- webService简单入门实战(一)
- 【BZOJ1999】树网的核,求树的直径+单调队列乱搞
- mongodb mysql数据类型_mongodb中数据类型的坑
- QT之计算器对四则运算表达式的解析(九)
- apache 服务器修改网站默认首页
- 百战程序员python900集资源_尚学堂百战程序员:盘点那些实用的Python代码
- C语言中逻辑非和取反的不同
- 星空下的新赛点,民营航空迎来新机会
- 微信分享返回 错误码 -6 的情况!
- SOTIF-雨雪雾行驶场景下交通参与者视觉检测及识别
- 3.100个渗透测试实战#3(Lampiao)
- WORD里的拼页、书籍折页、反向书籍折页功能(一)
热门文章
- javascript - js 创建网页 url 桌面快捷方式(兼容chrome)-书签工具
- 常用CORS账号设置方法(全国(千寻)CORS、中国移动CORS、华测CORS、北斗CORS)
- java基于OpenCv图像处理_读取_保存图片
- [RISC-V MCU 应用开发]基于CH32V307和TtencentOS Tiny的物联网心率监测
- 搭建中台架构的几个误区
- 比较两个字符串是否相等,strcmp wcscmp stricmp wcsicmp
- strcmp与stricmp的认识
- 一看就懂!renren-fast 快速开发框架使用以及开发文档
- Tomcat7w.exe无法start
- 关于iptables封禁国外IP方法