pytorch_ask_01-How to install torchaudio via anaconda?

本文档详细介绍了在Anaconda环境中安装torchaudio的步骤,包括初次尝试失败后的解决办法,如何下载安装包,切换目录,使用conda安装以及安装结果的检查。通过这些步骤,成功在Anaconda中安装了torchaudio。
摘要由CSDN通过智能技术生成

ID = pytorch_ask_01

Question

How to install torchaudio? (anaconda environment)

Answer

Download the installation package by yourself.
Follow the procedure to make it.

Step1: First try and failed

Tried:
$ conda install -c pytorch torchaudio

However, always got failed:

Downloading and Extracting Packages
torchaudio-0.5.0     | 7.1 MB    | ###4                                  |   9%    
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/pytorch/linux-64/torchaudio-0.5.0-py37.tar.bz2>   
Elapsed: -An HTTP error occurred when trying to retrieve this URL.   
HTTP errors are often intermittent, and a simple retry will get you on your way.

Never mind, you can get another solution from the info.

Yes, use the url showed in the terminal and download the installation package.

Step2: Download the installation package

Go to the url: https://conda.anaconda.org/pytorch/linux-64/torchaudio-0.5.0-py37.tar.bz2

Step3: Change directory

Change directory to you download folder.

Step4: Conda install

$ conda install torchaudio-0.5.0-py37.tar.bz2.
Conda installs packages into the anaconda/pkgs directory.

Step5: Check result

$ conda list

And got:
torchaudio 0.5.0 py37 <unknown>

Reference

[1] Installing conda packages

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值