Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[COURSE BUG] Can't install torchaudio on M1 Mac with conda 4.12.0 #35

Open
StFroese opened this issue Jun 22, 2022 · 0 comments
Open

[COURSE BUG] Can't install torchaudio on M1 Mac with conda 4.12.0 #35

StFroese opened this issue Jun 22, 2022 · 0 comments

Comments

@StFroese
Copy link

StFroese commented Jun 22, 2022

Trying to install the conda environment with mamba env create -f environment.yml yields to the error on M1 macOS:

Encountered problems while solving.
Problem: nothing provides requested torchaudio

This seem to be related to this issue.

I recommend to install the pip version of all PyTorch dependencies. Maybe change the environment.yml pip packages to

- pip:    
  - build    
  - tensorboard    
  - pytorch-lightning    
  - torch    
  - torchvision    
  - torchaudio 

Seems to work for me

In [1]: import torch, torchvision, torchaudio

In [2]: torch.__version__
Out[2]: '1.11.0'

In [3]: torchvision.__version__
Out[3]: '0.12.0'

In [4]: torchaudio.__version__
Out[4]: '0.11.0'
vuillaut added a commit that referenced this issue Jun 22, 2022
Might solve #35 but can't be tested in CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant