我正在使用一台配备M1 Pro芯片的MacBook Pro,运行macOS Venture 13.0.1,并安装了Python 3.9.6.try 运行以下命令时:
pip install anonympy
pip3 install anonympy
我得到以下输出:
Collecting anonympy
Using cached anonympy-0.3.7.tar.gz (5.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in anonympy setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.6*'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
我在Colab和本地运行相同Python版本的虚拟环境上try 了这一点,两次都得到了相同的构建轮错误.我还try 运行以下命令,但没有成功.
pip(3) install --upgrade setuptools
包裹有问题吗,或者我错过了什么?