首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Google Colab中安装scikit-survival时出现问题

在Google Colab中安装scikit-survival时出现问题
EN

Stack Overflow用户
提问于 2021-05-04 17:10:06
回答 1查看 218关注 0票数 0

我正面临着一个问题,在谷歌合作安装scikit的生存。每次它都说:

代码语言:javascript
复制
pip install scikit-survival
Collecting scikit-survival
  Using cached https://files.pythonhosted.org/packages/91/f0/047ce90bb831ab34ca287d1d23f0c61b6546cd89494566898c0e17516990/scikit-survival-0.15.0.post0.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpncdknf_f Check the logs for full command output.

然而,我不明白这个错误。我已经安装了最新的Python版本,并且任何其他pip install命令都可以正常工作。有谁有主意吗?

亲切的问候,Hashriama

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-05-04 17:18:43

错误存在于不同的版本以及与之相关的某些方面。在Colab中尝试以下内容。

代码语言:javascript
复制
!pip install --upgrade pip
!pip uninstall --yes --quiet osqp
!pip install -U scikit-survival

这应该可以完成这项工作。

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

https://stackoverflow.com/questions/67381836

复制
相关文章

相似问题

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