ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-kmxt0ibo/uwsgi_4e54cc05626645cea4771a2b62578f4c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-kmxt0ibo/uwsgi_4e54cc05626645cea4771a2b62578f4c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-93hdps8l/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.6m/uwsgi Check the logs for full command output.
apt-get update
apt-get install libpython3.6-dev # libpython3.6 的版本号要和 本地的python环境版本一直
pip install uwsgi