-
Notifications
You must be signed in to change notification settings - Fork 146
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
[BUG] Anvio v8 install python version errors - snakemake, fastani #2141
Comments
Hey @zscooper , I'm wondering if you ran the following command after getting the ln -s ${CONDA_PREFIX}/lib/libarchive.19.dylib \
${CONDA_PREFIX}/lib/libarchive.13.dylib If not, please run that command and try to install with mamba again. |
Hey @metehaansever, yes I ran this command. Running
|
I think this error is related to conda list If you cannot see the conda install libarchive -n base -c conda-forge Then test to make sure that mamba is okay now: mamba And I believe this issue may help. |
I tried a few things, but I'm still having the same issue with mamba not working (new error). I removed the original (in case I messed something up) and then created a new anvio-8 env. In the base env, I made sure conda and all packages were updated. I made sure to use the conda-forge version of packages as well. This is the output from the first
Here is the
|
Okay, I think I fixed it. I got the rest to install properly. I installed the block of dependencies (except fastani) using conda. I still can't get |
I just wanted to add to this thread because I ran into this same issue on my M2 Mac. I was getting the I am guessing that these architecture-related errors started coming up because the command to make bioconda packages work on M1/M2 Macs (ie, But I managed to solve it by re-installing each package with conda within the anvio-8 environment (to change their architecture). This required re-running the self-test a few times to determine which packages were affected and required reinstallation. Ultimately, my solution required the following commands:
UPDATE: I realized later while installing anvio-dev that the |
For anyone in the future who comes across this thread from googling the following error
that a simple |
Short description of the problem
Fresh install of Anvi'o v8 on M2 Mac, fastani not compatible with python 3.10 (OK), pip install failing after collecting snakemake.
anvi'o version
v8 - not yet installed
System info
MacOS Ventura 13.6, M2 Pro
Installing in conda environment (python version=3.10, as specified in tutorial)
Detailed description of the issue
Trying to do a fresh install of Anvio v8 on a new computer with M2 Pro chipset. Mamba isn't installing correctly, that's okay conda is fast enough. FastANI didn't install because of python version incompatibility (that's okay for now). Getting to the pip install, everything runs smoothly until pip tries to install snakemake (error message posted below). I tried to do a separate install of snakemake
conda install -c bioconda snakemake
but ran into a python version incompatibility error:Is there a way to resolve this pip install issue?
Files / commands to reproduce the issue
The text was updated successfully, but these errors were encountered: