Open yasmeenasali opened 1 year ago
I had the same issue installing on my Mac M1, and though
conda config --env --set subdir osx-64
was a workaround, it globally set the architecture to x86, which messed up with my other conda environments. I followed the answers here https://stackoverflow.com/questions/65415996/how-to-specify-the-architecture-or-platform-for-a-new-conda-environment-apple to modify the .zshrc file and installed Python 3.7 the following way
create_x86_conda_environment kcwidrp python=3.7
I had the same issue installing on my Mac M1, and though
conda config --env --set subdir osx-64
was a workaround, it globally set the architecture to x86, which messed up with my other conda environments. I followed the answers here https://stackoverflow.com/questions/65415996/how-to-specify-the-architecture-or-platform-for-a-new-conda-environment-apple to modify the .zshrc file and installed Python 3.7 the following way
create_x86_conda_environment kcwidrp python=3.7
I followed these instructions after encountering problems installing the DRP on an M2 MacBook Pro and this worked for me (thank you!) -- I agree, this would be a helpful addition to the documentation.
Just wanted to commend and add that it would be great if the pipeline could be tested and upreleased to at least python 3.8. 3.7 is already near EOL and the fact that this type of workaround is needed on two generations of computer says something... Python is on 3.12 right now and 3.7->3.8 wouldn't be a significant change to anything from the pipeline side (I'm pretty sure); see: https://github.com/astropy/astropy/pull/15634 which fixes a setuptools issue that was happening if you try to install using newer python versions. (but really being 5 versions behind might motivate just getting it working on 3.11 to future proof it for a while...)
I tried to follow these steps without success on a mac M2. python 3.7 was not available on Platform: osx-64 neither osx-arm64 Please let me know if there is another workaround. Thanks!
I couldn't install from the
environment.yml
file on Mac M1, since theres no native build for python less than 3.8. I used the following workaround:It may be good to mention this in the documentation!