-
Notifications
You must be signed in to change notification settings - Fork 34
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
Can't install scirpy on Apple Silicon #450
Comments
I'm afraid bioconda does currently not compile packages for ARM64. See also these issues: bioconda/bioconda-utils#706 You should still be able to install scirpy using |
Thanks for the info. I think now there are several packages available on the bioconda/osx-arm64 channel (even scirpy itself), it's just parasail that's not there. I can open an issue there, but based on the links you sent seems like it might be a while. I also tried installing scirpy via pip but it also fails - seems to be an issue with parasail:
I can open an issue with parasail, but thought you'd want to know installation is failing |
Thanks for the heads-up! Creating an issue in parasail sounds good! If you do, please tag me that I'm kept in the loop! |
Hello, I had the same issue on my Apple M2 Pro and fixed it by running the following code before installing scirpy: |
Thanks for reminding me to follow up. Yes, that's exactly the fix I found as well. Here is the thread on parasail that describes it: jeffdaily/parasail-python#24. To summarize:
Should work to install on apple silicon. Installing via conda doesn't work because currently there is no bioconda recipe for parasail available for osx-arm64. Hopefully this helps. |
I am quite new to python, so my apologies if I miss the obvious ;-) .
However, I get the same error:
Even when I manually download the parasail source code, compiled it, and then installed the Python bindings. Versions:
Thanks in advance! |
In jeffdaily/parasail-python#24, there's also mentioned If you can't make it work, please comment in the linked issue -- ultimately, this is an issue with parasail, not scirpy. |
Thanks, I will contact them. |
Now, with the numba implementation of TCRdist merged, we could consider making parasail an optional dependency and suggesting TCRdist as the standard alignment metric. |
As a user, I think this is a good idea - would greatly simplify installation, and the numba implementation of TCRdist seems to be a better and faster metric anyways. Really excited to hear it was implemented, thanks! |
Describe the bug
Unable to install scirpy on Apple silicon using conda/mamba
To Reproduce
mamba install scirpy --channel conda-forge --channel bioconda
Expected behaviour
Normal installation
System
Additional context
The installation fails because of a dependency on parasail-python, which doesn't seem to be enabled in for osx-arm64 in conda? This is the error message I get:
The text was updated successfully, but these errors were encountered: