-
Notifications
You must be signed in to change notification settings - Fork 98
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
cannot install CRISPResso on Mac Apple M2 chip laptop #287
Comments
Hi @tracie-mg, Sorry to hear that you are having trouble! I think the issue is that you are installing Python 2 instead of Python 3. Recent versions of CRISPResso2 only works with Python 3. Could you try this command to see if it makes any difference?
Good luck, |
If you need to use Python 2 (which means you will use an older version of CRISPResso2 when it was supported) this issue may be helpful. Because the error is that one of the dependencies of CRISPResso2 can't find a library that it needs. |
Thanks Cole! I tried this and am now getting a new error relating to my osx version:
|
Strange. Does it work if you only specify |
When I remove
|
Interesting, thanks for trying those. I'm honestly not sure what is going on and wish I could be more helpful. Here are some thoughts I had, not sure if they will be helpful or not:
I have a M1 Mac, and the result of
It is interesting if you look under If you unfortunately can't get CRISPResso2 to be installed via conda, you could try using Docker. Because you are using Apple Silicon, you will need to add the parameter
I found this blog post helpful when trying to get Docker working on Apple Silicon. |
Thanks for all the suggestions! I can install numpy and bowtie2 with no issues. My downloaded miniconda3 is the same one you linked (MacOSX-arm64) and my
I do have Mac Ventura 13.0 and my conda version is much newer. I wonder if that's the issue. Anyhow, I can successfully use CRISPResso2 via Docker. Thank you again! |
We're closing this issue because it hasn't been updated recently. If this issue still exists, please reopen this issue and we'll look into it! |
Hello, I'm having the exact same issue on an M1 mac (running macOS Ventura 13.0). In particular I have the following issue that tracie-mg mentioned:
I did manage to get the docker working, but it is very slow on macOS (at least for me), takes 10min vs 1min on conda. @tracie-mg how has been the run time for you on docker? What's weird is that I've managed to make Cirspresso2 work on conda not long ago on this same machine. A colleague was having this same issue, so I want to clean install to try and reproduce it on my machine. Sadly after clean installing conda, I now have the issue outlined in this thread. I've tried everything suggested in this thread (clean installed conda / make sure rosetta is installed / ...) Any ideas on what to try next? |
Hi @Nacho114, Sorry to hear that you are having trouble, these errors are very frustrating (I'm on a M1 mac as well, but haven't upgraded to Ventura 13.0 out of fear for this issue). One thing to try would be installing CRISPResso from source. You can do that by:
This should be faster than Docker and hopefully won't be susceptible to the OSX version error. Please let me know if this works for you! Thanks, |
Thanks, did that at the end! |
Thanks for your offer @Nacho114, I can update the docs. Were you able to install Flash from conda? Also, I think I have narrowed down the issue to be with the |
Thanks! I built Flash from scratch, did not think installing it via conda. |
Hello,
I've been trying to install CRISPResso2 for the past 2 days and kept running into the same issue. I've installed Rosetta2
then
then activated and tried running CRISPResso -h
Please let me know if how I can solve this. Thank you!
The text was updated successfully, but these errors were encountered: