Conda installation failing in m1 macbook
See original GitHub issue😵 Describe the installation problem
I created a new env with a fresh pyorch installation and I am not able to install pyg with conda in my MacBook with an m1 chip. I get the following error:
conda install pyg -c pyg
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- pyg
Current channels:
- https://conda.anaconda.org/pyg/osx-arm64
- https://conda.anaconda.org/pyg/noarch
- https://repo.anaconda.com/pkgs/main/osx-arm64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-arm64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
Environment
- PyG version: The current one.
- PyTorch version: 1.11
- OS: Mac os
- Python version: 3.8
- CUDA/cuDNN version: None
- How you installed PyTorch and PyG (
conda
,pip
, source): conda - Any other relevant information (e.g., version of
torch-scatter
): Macbook pro with an M1 chip
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Trouble installing anaconda on new M1 mac #3308 - GitHub
I just tried installing anaconda on my new M1 mac with brew install --cask ... 05.2022 version of anaconda, so I am surprised...
Read more >After installation of Anaconda, this erro… - Apple Community
After installation of Anaconda, this error occurs every time I open MAC terminal. I'm using Mac pro M1. I've seen the other people...
Read more >python 3.x - Anaconda M1 Mac Install Issues - Stack Overflow
I tried using the command line installer and it doesn't work either. Is there any way to safely remove Anaconda and the Anaconda...
Read more >Installing on macOS - Anaconda Documentation
Click Install to install Anaconda in the opt folder in your user directory (recommended). Once the install is complete, click Continue.
Read more >Conda install fails macOS 12.5.1 - #2 by colinbrislawn
Hello, I just got a new computer (MacBook Pro M1 2021) and am trying to install Qiime2 2022.2 with conda. When I run:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dhorka I don’t have an M1 mac, but my colleague has given me some tips for m1 and conda. I have not tested these things out.
Running OSX-64 conda packages:
Check your activated environment to see what architecture it is using:
python -c 'import platform; print(platform.machine())'
Create an environment that uses osx-arm64 (you want the other way around):
In your case, you want to do the opposite. Set the subdir to
x86-64
.What about AVX?
Thanks! For some reason, I was able to install it in the past using conda and pip, however, I am not able to reproduce it. I will try to do the installation from source.