我正在尝试在Centos7上安装uwsgi,以便在Centos7上部署pythonrest服务。 这是我见过的导游
Instal Flask Restful Service On Centos
现在,我在尝试安装uwsgi时收到以下错误:
Command "/home/admin60713620/Documents/PYTHON_REST_API/rest/restenv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-oEZ7uf/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-vcgfSt-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/admin60713620/Documents/PYTHON_REST_API/rest/restenv/include/site/python2.7/uwsgi" failed with error code 1 in /tmp/pip-build-oEZ7uf/uwsgi/
我遇到了同样的问题,运行这个命令
如果用Python3
^{pr2}$一切正常!在
希望这对你有帮助!在
相关问题 更多 >
编程相关推荐