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
Make fractal-tasks-core installable on Apple silicon macs #247
Comments
We don't use
I'm removing it from pyproject with #248 (I will merge to main as soon as CI passes), which in principle means that any version found on conda will be ok. As for the QT issue, see: |
Great, thanks! :) Can we do the same with the Qt libraries, as we don't depend on them directly and don't want to specify the version required beyond what our dependencies need? It's not urgent, just thought I'd document my workarounds here and have an issue we can come back on to make this easier :) |
We cannot, because of python-poetry/poetry#314. |
Tested this in the current main branch using I install pyqt manually via conda:
It's stuck there at 100% CPU load for a while (currently minutes). I'll let it run for a while, let's see if that fixes it. If it doesn't manually removing the PyQt5 dependency from pytoml does allow the installation to run. The imagecodecs likely will work, but need to test after it gets past pyqt. [Those are very clearly issues with PyQt & imagecodecs, not the fractal-core-tasks. Just annoying we have to deal with them] Edit: The PyQt5 installation eventually timed out and got killed. So even the relaxed PyQt requirements and manual conda installation aren't enough yet. |
For the record: To achieve this: |
Currently, when trying to install fractal-tasks-core on my M1 Pro MacBook Pro, I run into a few issues with dependencies. One is with Qt:
=> see discussion in napari-segment-blobs-and-things-with-membranes to drop this dependency, such that we can drop it from fractal-tasks-core (I currently manually removed it from the pyproject.toml to be able to run my installation and test some of the parsing functionality)
Another library that is making issues is imagecodecs:
Installing with conda seems to work (
conda install imagecodecs
). But then our current pyproject.toml specifies at least the 2022.2.22 version, which isn't available on conda. Can we ease this requirement? Conda can install 2021.8.26 on my mac successfully, all the pip installations appear to fail.The text was updated successfully, but these errors were encountered: