# Error to install qiime2-2022.11 with conda on Mac

**URL:** <https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382>\
**Category:** Technical Support\
**Tags:** install\
**Created:** [February 2, 2023, 4:29am UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382 "2023-02-02T04:29:09Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivanllam](https://forum.qiime2.org/user_avatar/forum.qiime2.org/ivanllam/32/12895_2.png) [@ivanllam](https://forum.qiime2.org/u/ivanllam)\
**Post date:** [February 2, 2023, 4:29am UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382/1 "2023-02-02T04:29:09Z")

</div>

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](https://forum.qiime2.org/t/error-to-install-qiime2-2022-2-with-conda/22503)). 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:

```auto
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:

```auto
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!

---

<div class="post-metadata">

**Author:** ![crusher083](https://forum.qiime2.org/user_avatar/forum.qiime2.org/crusher083/32/9597_2.png) [@crusher083](https://forum.qiime2.org/u/crusher083)\
**Post date:** [February 2, 2023, 8:28am UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382/2 "2023-02-02T08:28:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ivanllam](https://forum.qiime2.org/user_avatar/forum.qiime2.org/ivanllam/32/12895_2.png) [@ivanllam](https://forum.qiime2.org/u/ivanllam)\
**Post date:** [February 2, 2023, 11:14am UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382/3 "2023-02-02T11:14:48Z")

</div>

Hi,

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

Cheers,  
Ivan

---

<div class="post-metadata">

**Author:** ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)\
**Post date:** [February 6, 2023, 5:56pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382/4 "2023-02-06T17:56:21Z")

</div>

Hi @ivanllam,

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

```auto
conda env list

```

```auto
conda --version

```

I suspect there's still something 🐟 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! 🤓

---

<div class="post-metadata">

**Author:** ![ivanllam](https://forum.qiime2.org/user_avatar/forum.qiime2.org/ivanllam/32/12895_2.png) [@ivanllam](https://forum.qiime2.org/u/ivanllam)\
**Post date:** [February 8, 2023, 2:54am UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382/5 "2023-02-08T02:54:12Z")

</div>

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

```auto
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`

```auto
conda 22.11.1

```

Hopefully the information helps!  
Thanks again.

---

<div class="post-metadata">

**Author:** ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)\
**Post date:** [February 8, 2023, 7:18pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382/6 "2023-02-08T19:18:38Z")

</div>



---

<div class="post-metadata">

**Author:** ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)\
**Post date:** [February 13, 2023, 5:09pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382/7 "2023-02-13T17:09:43Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)\
**Post date:** [February 13, 2023, 5:09pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382/8 "2023-02-13T17:09:46Z")

</div>



---

<div class="post-metadata">

**Author:** ![ivanllam](https://forum.qiime2.org/user_avatar/forum.qiime2.org/ivanllam/32/12895_2.png) [@ivanllam](https://forum.qiime2.org/u/ivanllam)\
**Post date:** [February 14, 2023, 3:09am UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382/9 "2023-02-14T03:09:19Z")

</div>

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:

```auto
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!!!

---

<div class="post-metadata">

**Author:** ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)\
**Post date:** [February 14, 2023, 3:57pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382/10 "2023-02-14T15:57:52Z")

</div>



---

<div class="post-metadata">

**Author:** ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)\
**Post date:** [February 21, 2023, 8:00pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382/11 "2023-02-21T20:00:33Z")

</div>

Hi @ivanllam,

Thanks for your patience here 🙏🏼

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/](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! 🦎

---

<div class="post-metadata">

**Author:** ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)\
**Post date:** [February 21, 2023, 8:00pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382/12 "2023-02-21T20:00:39Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)\
**Post date:** [March 25, 2023, 2:01am UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-11-with-conda-on-mac/25382/13 "2023-03-25T02:01:17Z")

</div>

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