Error to install qiime2-2022.11 with conda on Mac

Hi all,

I aim to install QIIME2-2022.11 on Mac. I encounter the following error similar to (Error to install qiime2-2022.2 with conda). The recommendation involve a Mac with a M1 chip, but my Mac is working with a Intel Core-i9. May I have any suggestion please?

Here is the code I ran after installing Miniconda3, following the installation guide:

wget https://data.qiime2.org/distro/core/qiime2-2022.11-py38-osx-conda.yml
conda env create -n qiime2-2022.11 --file qiime2-2022.11-py38-osx-conda.yml

Here is the error I got:

ERROR conda.core.link:_execute(733): An error occurred while installing package 'bioconda::bioconductor-genomeinfodbdata-1.2.9-r42hdfd78af_0'.
Rolling back transaction: done
class: LinkError
message:
post-link script failed for package bioconda::bioconductor-genomeinfodbdata-1.2.9-r42hdfd78af_0
location of failed script: /Users/freshlab/miniforge3/envs/qiime2-2022.11/bin/.bioconductor-genomeinfodbdata-post-link.sh
==> script messages <==
<None>
==> script output <==
stdout: ERROR: post-link.sh was unable to download any of the following URLs with the md5sum 7cc138cfb74665fdfa8d1c244eac4879:
"https://bioconductor.org/packages/3.16/data/annotation/src/contrib/GenomeInfoDbData_1.2.9.tar.gz"
"https://bioarchive.galaxyproject.org/GenomeInfoDbData_1.2.9.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-genomeinfodbdata/bioconductor-genomeinfodbdata_1.2.9_src_all.tar.gz"

Plus many lines...

After the error, I am able to activate the qiime2-2022.11 environment by:
conda activate qiime2-2022.11

but when running:
qiime --help

The command was not found.
zsh: command not found: qiime

Updates:

  1. I try to install qiime2-2022.11 on another Mac, it works fine. So I am wondering would it be a problem on my device.
  2. I try to manually install bioconductor-genomeinfodbdata, but remains unsuccessful. May I ask am I on the right path of solving the issue?

Any help would be highly appreciate, thanks!

Hello,

yes, env will be activated as it is created before packages are installed. So this behavior is expected.
Try to delete the env, run conda clean -a, and run installation again.

Cheers,
V

Hi,

Thanks for your reply. I ran conda clean -a and re-ran the installation again, but the same error occurs.

Cheers,
Ivan

Hi @ivanllam,

Can you please provide the terminal output for the following commands:

conda env list
conda --version

I suspect there's still something :fish: going on with your conda configuration - I haven't had any issues installing QIIME 2 2022.11 on my Intel Macbook, and we haven't received any other reports of this since the latest release. Either way, we'll get to the bottom of it! :nerd_face:

Hi, thank you for your reply.
Here is the output of conda env list

base                  *  /Users/freshlab/miniconda3
qiime2-2022.11           /Users/freshlab/miniconda3/envs/qiime2-2022.11
                         /Users/freshlab/opt/anaconda3
                         /Users/freshlab/opt/miniconda3

And, here is the output of conda --version

conda 22.11.1

Hopefully the information helps!
Thanks again.

Hi @ivanllam,

Thanks for providing those outputs!

Your version of conda is up to date, but I am wondering if the multiple miniconda instances are what's causing problems here. Can you delete the miniconda instance that's located at /Users/freshlab/opt/miniconda3? Once that's done, I would delete your 2022.11 environment, run conda clean --all once more, and then try a fresh install. Let's see if that resolves the issue!

Hi @lizgehret ,

Thanks for the suggestion!
I firstly remove extra conda environment (only base is kept). Then re-install qiime2 following the standard approach again.

This time something different display on terminal, but generally the same error.
Here is the a few lines of the error:

ERROR conda.core.link:_execute(745): An error occurred while installing package 'bioconda::bioconductor-genomeinfodbdata-1.2.9-r42hdfd78af_0'.
Rolling back transaction: done
class: LinkError
message:
post-link script failed for package bioconda::bioconductor-genomeinfodbdata-1.2.9-r42hdfd78af_0
location of failed script: /Users/freshlab/anaconda3/envs/qiime2-2022.11/bin/.bioconductor-genomeinfodbdata-post-link.sh
==> script messages <==
<None>
==> script output <==
stdout: ERROR: post-link.sh was unable to download any of the following URLs with the md5sum 7cc138cfb74665fdfa8d1c244eac4879:
"https://bioconductor.org/packages/3.16/data/annotation/src/contrib/GenomeInfoDbData_1.2.9.tar.gz"
"https://bioarchive.galaxyproject.org/GenomeInfoDbData_1.2.9.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-genomeinfodbdata/bioconductor-genomeinfodbdata_1.2.9_src_all.tar.gz"

Hopefully the information helps. Thanks!!!

Hi @ivanllam,

Thanks for your patience here :pray:t3:

This is interesting - I'm curious if our development environment will work for you to install. Can you try a fresh install of QIIME 2 using these instructions:
https://dev.qiime2.org/latest/quickstart/

You can rename the environment 2022.11 if that's helpful for you - this environment contains all features from 2022.11 release, along with a few new changes from our current development cycle.

If this doesn't work, please provide your full command list (copy/pasted from terminal) along with the error message you receive (if it's different from the above message). Thanks! :lizard:

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.