在命令提示符里输入conda install pytorch torchvision torchaudio -c pytorch之后,显示什么就说明安装成功了
时间: 2024-02-12 16:09:45 浏览: 92
在命令提示符界面下输入 `conda install pytorch torchvision torchaudio -c pytorch` 后,如果你看到类似以下信息,就说明 `torch` 模块已经成功安装了:
```
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /path/to/your/anaconda3
added / updated specs:
- pytorch
- torchaudio
- torchvision
The following NEW packages will be INSTALLED:
blas pkgs/main/linux-64::blas-1.0-mkl
ca-certificates pkgs/main/linux-64::ca-certificates-2021.5.30-ha878542_0
certifi pkgs/main/linux-64::certifi-2021.5.30-py38h06a4308_0
intel-openmp pkgs/main/linux-64::intel-openmp-2021.3.0-h06a4308_3372
ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.35.1-h7274673_9
libffi pkgs/main/linux-64::libffi-3.3-he6710b0_2
libgcc-ng pkgs/main/linux-64::libgcc-ng-9.3.0-h5101ec6_17
libgomp pkgs/main/linux-64::libgomp-9.3.0-h5101ec6_17
libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-9.3.0-hd4cf53a_17
ncurses pkgs/main/linux-64::ncurses-6.2-he6710b0_1
openssl pkgs/main/linux-64::openssl-1.1.1k-h27cfd23_0
pytorch pytorch/linux-64::pytorch-1.9.0-py3.8_cuda11.1_cudnn8.0_0
readline pkgs/main/linux-64::readline-8.1-h27cfd23_0
sqlite pkgs/main/linux-64::sqlite-3.36.0-hc218d9a_0
torchaudio pytorch/linux-64::torchaudio-0.9.0-py38
torchvision pytorch/linux-64::torchvision-0.10.0-py38_cu111
xz pkgs/main/linux-64::xz-5.2.5-h7b6447c_0
zlib pkgs/main/linux-64::zlib-1.2.11-h7b6447c_3
Proceed ([y]/n)?
```
注意,在安装过程中可能会有一些提示让你确认,你需要输入 `y` 确认安装。如果安装过程中出现错误或提示,你需要根据错误信息或提示进一步调查和解决。
阅读全文