2017-06-01 221 views
0

我成功地在本地安裝了uwsgi。python3.6安裝uwsgi錯誤centos

但我安裝VPS那麼它的錯誤。

目前我不知道如何解決它。

錯誤消息:

* uWSGI編譯嵌入插件* [gcc的-pthread]插件/蟒/ pythonplugin.o 在文件從插件/蟒/ pythonplugin.c包括:1:0: 插件/蟒/ uwsgipython.h:2:20:致命錯誤:Python.h:沒有這樣的文件或目錄的#include ^ 彙編 終止。

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

「/usr/bin/python2.7 -u -c」 進口setuptools的,記號化; _ 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 --compile --single-版本外管理「,錯誤代碼1未能在/ tmp/PIP-集結oONRqq/ 我看期待您的幫助。 感謝您

回答

0

我有同樣的問題。我快速的解決辦法是改變Python版本降到3.5+。它的工作對我來說,什麼是我不知道的主要問題。