首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >python setup.py bdist_wheel没有成功运行(python3.10)

python setup.py bdist_wheel没有成功运行(python3.10)
EN

Stack Overflow用户
提问于 2022-08-09 03:40:03
回答 2查看 1.5K关注 0票数 0

我是数据科学的新手,我需要使用python3.10在我的M1芯片上安装scikit意外。但是我得到了这个错误。不知何故,我经常在python 3.10中得到这条消息。

我只安装了pip

%pip install scikit-surprise

我得到了这个错误。我该怎么办?

python setup.py bdist_wheel did not run successfully (python 3.10)

代码语言:javascript
运行
复制
  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.```
EN

回答 2

Stack Overflow用户

发布于 2022-08-09 03:55:40

试着跑

代码语言:javascript
运行
复制
pip install wheel

在运行pip install scikit-surprise之前

票数 0
EN

Stack Overflow用户

发布于 2022-10-29 22:41:36

试一试

代码语言:javascript
运行
复制
pip install attrdict3

对我来说很管用

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73286297

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档