首页 文章

python3.6安装uwsgi错误centos

提问于
浏览
0

我成功地在本地安装了uwsgi .

但我在vps上安装然后它是错误的 .

目前我不知道如何解决它 .

错误信息:

*** uWSGI compiling embedded plugins *** [gcc -pthread] plugins / python / pythonplugin.o在plugins / python / pythonplugin.c中包含的文件中:1:0:Plugins / python / uwsgipython.h:2:20:致命错误:Python.h:没有这样的文件或目录#include ^编译终止 .

----------------------------------------

“/usr/bin/python2.7 -u -c”import setuptools,tokenize; _ file __ ='/ tmp / pip-build-oONRqq / superset / setup.py'; f = getattr(tokenize,'open',open Exec(compile(code,file,'exec'))“install - (__ file __); code = f.read()replace('\ r \ n',' \ n'-record /tmp/pip-ktDXj1-record/install-record.txt --single-version-external-managed --compile“在/ tmp / pip-build-oONRqq中错误代码1失败/我期待对你的帮助 . 谢谢你

1 回答

  • 0

    我也有同样的问题 . 我的快速解决方案是将python版本更改为3.5 . 它对我有用 . 我不知道的主要问题是什么 .

相关问题