小编Wes*_*cts的帖子

如何在 ubuntu 20.04 上清理/重新安装 nvidia 驱动程序?

nvidia-smi 失败:

$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Run Code Online (Sandbox Code Playgroud)

这台机器上似乎事先安装了 nvidia [尝试?]。我该如何清理这个?

$ sudo ubuntu-drivers autoinstall
Run Code Online (Sandbox Code Playgroud)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved …
Run Code Online (Sandbox Code Playgroud)

nvidia drivers 20.04

8
推荐指数
1
解决办法
3万
查看次数

pip3 指向错误的 python 版本

我已经安装了python3.8,但没有找到有关如何pip3在 上与其交谈的参考ubuntu。我macos已经明确安装了pip3.8,这对于正确排列所有软件包至关重要。

pip3根据众多建议安装如下:

    sudo apt-get install python3-pip
Run Code Online (Sandbox Code Playgroud)

但它指向的是python3.6

$ pip3 -V
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
Run Code Online (Sandbox Code Playgroud)

请不要提示anaconda或者venv:有原因我们都是直接使用安装的python3.8

python pip

3
推荐指数
1
解决办法
5万
查看次数

标签 统计

20.04 ×1

drivers ×1

nvidia ×1

pip ×1

python ×1