本文主要是介绍安装uwsgi--报错,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
安装uwsgi
pip3 install uwsgi
报错:
ERROR: Command errored out with exit status 1: /usr/bin/python3.8 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-zc4elqg3/uwsgi/setup.py’"’"’; file=’"’"’/tmp/pip-install-zc4elqg3/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-record-ecy5qo7o/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
解决
python2:yum install python-devel
python3:yum install python3-devel
这篇关于安装uwsgi--报错的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!