我想在我macOS Catalina正在做的事情上安装 psutil pip install psutil,但它没有成功。相反,我收到了多条错误消息,Xcode指出该架构不受支持。有人遇到过类似的问题吗?这是整个输出:Collecting psutil Using cached psutil-5.7.2.tar.gz (460 kB)Using legacy 'setup.py install' for psutil, since package 'wheel' is not installed.Installing collected packages: psutil Running setup.py install for psutil ... error ERROR: Command errored out with exit status 1: command: /Users/sanjibanbairagya/code/.envs/airbase_backend/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/53/072hdjvd63z1p57y512596rc0000gn/T/pip-install-a_22z6dq/psutil/setup.py'"'"'; __file__='"'"'/private/var/folders/53/072hdjvd63z1p57y512596rc0000gn/T/pip-install-a_22z6dq/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/53/072hdjvd63z1p57y512596rc0000gn/T/pip-record-ca9qt6ec/install-record.txt --single-version-externally-managed --compile --install-headers /Users/sanjibanbairagya/code/.envs/airbase_backend/include/site/python3.8/psutil cwd: /private/var/folders/53/072hdjvd63z1p57y512596rc0000gn/T/pip-install-a_22z6dq/psutil/ Complete output (141 lines): running install running build running build_py creating build上述问题有修复/解决方法吗?任何形式的帮助都将受到高度赞赏。提前致谢。
添加回答
举报
0/150
提交
取消