-
Notifications
You must be signed in to change notification settings - Fork 32
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
How to install on M1 mac in python 3.9 environment? #324
Comments
This is probably not much help, but that command worked fine for me:
I forget how I installed |
https://github.com/ome/conda-zeroc-ice36-python will need an osx-arm64 build to support M1 Macs |
@will-moore Thanks. |
I don't know what @manics means. I just know that I have an M1 Mac and the commands above worked for me without having to "build" anything. Did you install conda via Anaconda or miniconda. I think I used Anaconda. |
Sorry, I think @will-moore is right, it's possible to run cross-architecture binaries, see e.g. https://towardsdatascience.com/using-conda-on-an-m1-mac-b2df5608a141 |
I tested it again and it works for me too on M1 |
I have not been able to get it to work yet, could it be the Rosseta environment? |
I have installed Anaconda. There is also https://github.com/conda-forge/miniforge#miniforge3 (I have not tried it). |
I have installed miniforge3.
|
It could be, we are also new to M1. |
It worked well in the Rosetta environment. Thank you very much. However, due to other libraries, I want to run it in the M1 mac native environment. Is there any way to do this? |
After installing ice with brew, I installed zeroc-ice with pip and was able to install it in a native environment on M1 mac. However, in this case version 3.7.7 was installed. omero-py specifies version <3.7, is there a problem with 3.7? |
There is no problem with Ice 3.7 as such. We do not support it. So unfortunately the setup using ice 3.7 won't work. |
This issue has been mentioned on Image.sc Forum. There might be relevant details there: |
@hiroalchem You say you've been using |
Thank you @manics, I was able to install from conda-forge. |
I tried to install it in the following way
conda create -n omero -c ome python=3.9 zeroc-ice36-python omero-py
I get the following error and cannot install, what should I do?
The text was updated successfully, but these errors were encountered: