mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 22:02:13 -06:00
[GH-ISSUE #1] Package conflicts with nvidia-ml-py (pynvml.py) #1
Labels
No labels
api
bug
bug
cli / tui
dependencies
documentation
documentation
documentation
duplicate
enhancement
exporter
invalid
pull-request
pynvml
question
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/nvitop#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Neronjust2017 on GitHub (Jul 7, 2021).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/1
hi,老哥,我安装好之后,输入
nvitop会出现这个错误:但是,我安装其他版本的
nvidia-ml-py,会出现:看起来
nvitop需要nvidia-ml-py==11.450.51,但是我的显卡驱动又和nvidia-ml-py版本不兼容,有解决办法吗?@XuehaiPan commented on GitHub (Jul 7, 2021):
感谢反馈!能给一下你的操作系统版本和驱动版本吗?第二个
pip安装其他版本的nvidia-ml-py的 warning 直接忽略就好了。由于
nvidia-ml-py、py3nvml、nvidia-ml-py3这三个包都会安装pynvml.py这个文件,能确认一下你是否安装了其他两个包吗?后面两个包可能是安装了其他的库作为依赖安装的(比如
glances/gpustat),然后把pynvml.py给修改了。@Neronjust2017 commented on GitHub (Jul 7, 2021):
其他两个包都没有安装,但我发现安装了
pynvml==11,我 uninstallpynvml之后再重新安装nvitop就没问题了。@XuehaiPan commented on GitHub (Jul 7, 2021):
好的!如果和其他库冲突,可以用
virtualenv之类的做个隔离。