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>