Enable "conda install COMPAS" to work on Apple Silicon M1 MacsSee original GitHub issue
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
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
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.
- Created a year ago
- 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-pinningfeedstock to add support for
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!