python - 安装 shap 时出错 - 我在 AMD 而不是 NVIDIA 时要求 CUDA
问题描述
有人可以帮忙吗?
pip install shap
不适合我
The nvcc binary could not be located in your $PATH. Either add it to your path, or set $CUDAHOME to enable CUDA
Error building cuda module: TypeError('cannot unpack non-iterable NoneType object')
WARNING: Could not compile cuda extensions
我不能拥有 CUDA,因为我在 Ubuntu 20.04 中使用 AMD。
解决方案
推荐阅读
- mysql - 你如何加入多个外键?
- excel - 是否有一个 Excel 公式可以搜索列表并突出显示包含来自不同列表的单词的文本?
- python-3.x - if 语句中的语法正确,但此后代码停止运行(通过打印计算)
- javascript - 数组过滤器(mongodb)在我的 nodejs 后端不起作用
- mercurial - 如果你“hg clone”一个较早的提交,然后提交,你会创建一个新的分支吗?
- node.js - 如何确定 T-SQL 查询中的 rowsAffected 数组元素?
- recaptcha - 如何从我的网站隐藏 Google reCAPTCHA v3?
- java - 当所有连接都关闭时,数据库文件“正在被另一个进程使用”
- c++ - 对象的特定方法按升序排列的C++优先级队列
- javascript - 如何在 Web 应用程序中处理用户审核日志(或其他频繁的客户端操作)?