我是数据科学的新手,我需要用python 3.10在我的M1芯片上安装scikit-surprise。但是我得到了这个错误。不知何故,我经常在python 3.10上得到这个消息。
我只使用pip安装python setup.py bdist_wheel did not run successfully (python 3.10)
然后我得到这个错误,我该怎么办?python setup.py bdist_wheel did not run successfully (python 3.10)
个
Building wheel for scikit-surprise (setup.py) ... error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [101 lines of output]
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-3.10
creating build/lib.macosx-10.9-universal2-3.10/surprise
copying surprise/builtin_datasets.py -> build/lib.macosx-10.9-universal2-3.10/surprise
copying surprise/__init__.py -> build/lib.macosx-10.9-universal2-3.10/surprise
copying surprise/dump.py -> build/lib.macosx-10.9-universal2-3.10/surprise
...
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Note: you may need to restart the kernel to use updated packages.```
2条答案
按热度按时间laawzig21#
试着跑
在运行
pip install scikit-surprise
之前dm7nw8vv2#
试试pip install attrdict3,它对我很有效