Enable "conda install COMPAS" to work on Apple Silicon M1 Macs
See original GitHub issueFeature Request
As an M1 mac user, it would be fantastic to be able to follow the suggested installation for compas without errors. Maybe it’s as easy as adding a respective image to the conda-forge/osx-arm64
channel.
Details
When trying to install compas with the regular (mini)conda setup I get the error message that the compas package is not available in any of the channels, even after running conda config --add channels conda-forge
(as expected since it is not in the ARM channel). I then tried to install the package via pip, which somewhat worked but only installed version 0.3.9
.
The best workaround I could find was to set up conda in rosetta/intel-virtualization mode following these instructions on a miniforge fork:
CONDA_SUBDIR=osx-64 conda create -n [environment] # create a new environment
conda activate [environment]
conda env config vars set CONDA_SUBDIR=osx-64 # subsequent commands use intel packages
In that environment, the installation went as expected and I got the latest version. However, this of course runs all packages using the Intel versions which might impair performance.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top GitHub Comments
as far as i can tell, we are supposed to send a PR to the
conda-forge-pinning
feedstock to add support forosx_arm64
tocompas
.https://conda-forge.org/blog/posts/2020-10-29-macos-arm64/
i just did that. see here https://github.com/conda-forge/conda-forge-pinning-feedstock/pull/2434. i also tried the manual version but it failed.
i guess now we have to wait 😃
Yes! It is seamlessly installed from the ARM channels now and I can also confirm that python runs in Apple Silicon mode now.
Thanks a lot!