Browse Source

update references_tips/InstallPython.md.

pull/8/MERGE
布树辉 Gitee 3 years ago
parent
commit
b33902e91c
No known key found for this signature in database GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 28 additions and 1 deletions
  1. +28
    -1
      references_tips/InstallPython.md

+ 28
- 1
references_tips/InstallPython.md View File

@@ -133,9 +133,36 @@ conda info --envs
conda remove -n <your_env> --all conda remove -n <your_env> --all
``` ```


## 7. 安装nvidia驱动

### 7.1 查看已有的nvidia驱动
```
dpkg -l | grep -i nvidia
```

### 7.2 卸载驱动
```
sudo apt-get purge nvidia-driver-xxx
```

### 7.3 搜索并安装的驱动

```
apt-cache search nvidia | grep 460
sudo apt-get install nvidia-driver-460
```

根据自己的需要可以安装更高的版本。

#### 7.4 Conda使用cuda
```
conda install cudatoolkit=8.0 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64/
```
**根据自己的需要安装更高的版本**





## 7. [Python技巧](python/)
## 8. [Python技巧](python/)


- [pip的安装、使用等](python/pip.md) - [pip的安装、使用等](python/pip.md)
- [virtualenv的安装、使用](python/virtualenv.md) - [virtualenv的安装、使用](python/virtualenv.md)


Loading…
Cancel
Save