我尝试使用安装uwsgi pip install uwsgi。这在 macOS Big Sur (11) 中有效,但现在在 Monterey (12) 中失败。
这是输出(saee 是我的用户名):
\n\xe2\x9d\xaf pip install uwsgi\nCollecting uwsgi\n Using cached uwsgi-2.0.20.tar.gz (804 kB)\n Preparing metadata (setup.py) ... done\nBuilding wheels for collected packages: uwsgi\n Building wheel for uwsgi (setup.py) ... error\n ERROR: Command errored out with exit status 1:\n command: /Users/saee/Desktop/as/shell/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/jq/ynjgrhqx2gz7sfd1tnwft4g00000gn/T/pip-install-78t_g24b/uwsgi_3c29c5a278804046979cb1319ade3427/setup.py'"'"'; __file__='"'"'/private/var/folders/jq/ynjgrhqx2gz7sfd1tnwft4g00000gn/T/pip-install-78t_g24b/uwsgi_3c29c5a278804046979cb1319ade3427/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'"'"', …Run Code Online (Sandbox Code Playgroud)