安装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