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>
本文档详细介绍了在Anaconda环境中安装torchaudio的步骤,包括初次尝试失败后的解决办法,如何下载安装包,切换目录,使用conda安装以及安装结果的检查。通过这些步骤,成功在Anaconda中安装了torchaudio。

被折叠的 条评论
为什么被折叠?



