目录
pynvml 报错 NVML Shared Library Not Found / WinError 126
Python查看GPU已使用的显存
版权声明:随意转载,不用告诉我,但链接到就行。 https://blog.csdn.net/u011094454/article/details/80774495
pip安装pynvml
pip install nvidia-ml-py3
pynvml
#也可以更具python版本制定2/3
#python2
pip install nvidia-ml-py2
#python3
pip install nvidia-ml-py3
#或者使用源码安装
#下载链接:http://pypi.python.org/pypi/nvidia-ml-py/
sudo python setup.py install
页面上下载按钮:
如果是Python2,