英文批改 conda install pytorch==1.1.0 torchvision==0.3.0 cudatoolkit=10.0 -c pytorch
时间: 2023-09-16 09:09:42 浏览: 74
Corrected:
"Please install PyTorch version 1.1.0 and torchvision version 0.3.0 with the CUDA toolkit version 10.0 using the following command: conda install pytorch==1.1.0 torchvision==0.3.0 cudatoolkit=10.0 -c pytorch."
相关问题
conda install pytorch==1.1.0 torchvision==0.3.0 cudatoolkit=10.0 -c pytorch变成pip命令
这个操作可以使用以下的pip命令来实现:
```bash
pip install torch==1.1.0 torchvision==0.3.0 -f https://download.pytorch.org/whl/cu100/stable
```
需要注意的是,这个命令中的`cu100`对应的是CUDA的版本号,如果你使用的是其他版本的CUDA,请修改相应的版本号。
conda install pytorch==1.1.0 -c pytorch Solving environment: failed PackagesNotFoundError: The following packages are not available from current channels: - pytorch==1.1.0
如果在 PyTorch 官方的 conda 渠道中没有找到 PyTorch 1.1.0,您可以尝试从 Anaconda 渠道安装,方法如下:
```
conda install pytorch=1.1.0 torchvision=0.3.0 cudatoolkit=9.0 -c anaconda
```
这将安装 PyTorch 1.1.0、torchvision 0.3.0 和 CUDA 9.0。
如果您没有使用 CUDA,可以省略 `cudatoolkit=9.0` 部分。
希望这可以帮助您解决问题。
相关推荐
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)