question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find torchaudio for installing Asteroid 0.3.4

See original GitHub issue

Asteroid installation crashes on torchaudio

~/Developpements/ASTEROID  pip install asteroid
Collecting asteroid
  Using cached asteroid-0.3.4-py3-none-any.whl (216 kB)
...
Collecting torch
  Using cached torch-0.1.2.post2.tar.gz (128 kB)
Collecting pytorch-lightning>=0.8
  Using cached pytorch_lightning-1.0.5-py3-none-any.whl (559 kB)
...
Requirement already satisfied: pystoi in ./env/lib/python3.9/site-packages (from pb-bss-eval->asteroid) (0.3.3)
Collecting cached-property
  Downloading cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
ERROR: Could not find a version that satisfies the requirement torchaudio (from torch-stoi->asteroid) (from versions: none)
ERROR: No matching distribution found for torchaudio (from torch-stoi->asteroid)

Software versions and OS version

 % pip --version
pip 20.2.4 from /Users/pierron/Developpements/ASTEROID/env/lib/python3.9/site-packages/pip (python 3.9)

% uname -a
Darwin themis.home 19.6.0 Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 x86_64 i386 MacBookPro12,1 Darwin

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
lpierroncommented, Nov 10, 2020

You shouldn’t have torch 0.1.2, but 1.6.0 or 1.7.0. Torchaudio matches torch’s version, not asteroid’s.

Install pytorch first then ```pip install torch==1.7.0+cpu torchaudio==0.7.0 -f https://download.pytorch.org/whl/torch_stable.html``

I found the problem, I’m using python 3.9 and there is no pytorch package for python 3.9. I downgraded to python 3.8 and it’s OK now.

0reactions
jonashaagcommented, Nov 10, 2020

I’m using python 3.9 and there is no pytorch package for python 3.9

Haha and then for some reason pip it decided to install a PyTorch ALPHA version from 2016 😄 probably because it’s the only version that doesn’t say that it doesn’t support 3.9

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR: Could not find a version that satisfies the requirement ...
Describe the bug. ERROR: Could not find a version that satisfies the requirement torchaudio>=0.5.0 (from asteroid) (from versions: none)
Read more >
Pip does not recognize torchaudio libary - Stack Overflow
You could try doing this: pip install torchaudio -f https://download.pytorch.org/whl/torch_stable.html. Found on the github.
Read more >
torchaudio - PyPI
An audio package for PyTorch.
Read more >
asteroid Documentation
Asteroid is a PyTorch-based audio source separation toolkit. The main goals of Asteroid are: • Gather a wider community around audio source ...
Read more >
Error installing with Python 3.8 and CUDA 11.5
I am trying to install PyTorch with Python 3.8 and CUDA 11.5 and I am getting following error for torchaudio. ERROR: Could not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found