我是数据科学的新手,我需要使用python3.10在我的M1芯片上安装scikit意外。但是我得到了这个错误。不知何故,我经常在python 3.10中得到这条消息。
我只安装了pip
%pip install scikit-surprise
我得到了这个错误。我该怎么办?
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.```
发布于 2022-08-09 03:55:40
试着跑
pip install wheel
在运行pip install scikit-surprise
之前
发布于 2022-10-29 22:41:36
试一试
pip install attrdict3
对我来说很管用
https://stackoverflow.com/questions/73286297
复制相似问题