# Error to install qiime2-2022.2 with conda

**URL:** <https://forum.qiime2.org/t/error-to-install-qiime2-2022-2-with-conda/22503>\
**Category:** Technical Support\
**Created:** [March 19, 2022, 6:20am UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-2-with-conda/22503 "2022-03-19T06:20:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![yjk555](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/y/d07c76/32.png) [@yjk555](https://forum.qiime2.org/u/yjk555)\
**Post date:** [March 19, 2022, 6:20am UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-2-with-conda/22503/1 "2022-03-19T06:20:00Z")

</div>

Hi,  
I am going to install the qiime2-2022.2 with conda on my mac, however, the same error happened for many times and can't be solved. Could you please do me a favor?  
I succeeded in the installation of the miniconda and made some settings before install qiime2  
(wget [https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86\_64.sh](https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh) -O ~/miniconda.sh; bash ~/miniconda.sh -b -p $HOME/miniconda; source ~/miniconda/bin/activate;  
conda init zsh; conda update conda), these codes are working well.  
And then I installed the qimme2-2022.2 using the codes "wget [https://data.qiime2.org/distro/core/qiime2-2022.2-py38-osx-conda.yml](https://data.qiime2.org/distro/core/qiime2-2022.2-py38-osx-conda.yml)  
conda env create -n qiime2-2022.2 --file qiime2-2022.2-py38-osx-conda.yml", and get the error "ERROR conda.core.link:\_execute(730): An error occurred while installing package 'bioconda::bioconductor-genomeinfodbdata-1.2.7-r41hdfd78af\_1'. Rolling back transaction: done  
class: LinkError  
message:  
post-link script failed for package bioconda::bioconductor-genomeinfodbdata-1.2.7-r41hdfd78af\_1  
location of failed script: /Users/jiangkun/miniconda/envs/qiime2-2022.2/bin/.bioconductor-genomeinfodbdata-post-link.sh ..........(many lines)"  
I realized the installation fail was caused by package 'bioconda::bioconductor-genomeinfodbdata-1.2.7-r41hdfd78af\_1', so I download this package and installed locally (conda install ~/Downloads/bioconductor-genomeinfodbdata-1.2.7-r41hdfd78af\_1.tar.bz2), however, I got the error same with above. Any answer or suggestions will be appreciated.  
Kind regards,  
Jiangkun

---

<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:** [March 21, 2022, 4:33pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-2-with-conda/22503/2 "2022-03-21T16:33:48Z")

</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:** [March 23, 2022, 5:05pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-2-with-conda/22503/3 "2022-03-23T17:05:34Z")

</div>

Hi @yjk555,

Welcome to the :qiime2: forum!

From the error message you provided, it seems like there might be an issue with your conda environment(s) - can you run the following command for me and copy/paste the output in your response:

`conda env list`

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:** [March 23, 2022, 5:05pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-2-with-conda/22503/4 "2022-03-23T17:05:38Z")

</div>



---

<div class="post-metadata">

**Author:** ![yjk555](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/y/d07c76/32.png) [@yjk555](https://forum.qiime2.org/u/yjk555)\
**Post date:** [March 24, 2022, 5:01am UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-2-with-conda/22503/5 "2022-03-24T05:01:32Z")

</div>

The output of "conda env list" are as follow:

> conda env list

# conda environments:

# 

base \* /Users/jiangkun/miniconda  
qiime2-2022.2 /Users/jiangkun/miniconda/envs/qiime2-2022.2

Looking forward to your reply!  
Jiangkun Yu

---

<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:** [March 24, 2022, 4:55pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-2-with-conda/22503/6 "2022-03-24T16:55:25Z")

</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:** [March 29, 2022, 5:06pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-2-with-conda/22503/9 "2022-03-29T17:06:08Z")

</div>

Hi @yjk555,

Thanks for sharing that! If you are working with a new mac that uses an M1 arm chip (thus requiring osx-arm64 builds), [this forum post may provide a suitable workaround](https://forum.qiime2.org/t/install-qiime2-on-macbook-pro-2021-with-apple-m1-chip/21492) for you. Let us know if this doesn't resolve 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:** [March 29, 2022, 5:06pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-2-with-conda/22503/10 "2022-03-29T17:06:13Z")

</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:** [April 4, 2022, 4:24pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-2-with-conda/22503/11 "2022-04-04T16:24:46Z")

</div>

An off-topic reply has been split into a new topic: [Error installing qiime2 2022.2 on linux](https://forum.qiime2.org/t/error-installing-qiime2-2022-2-on-linux/22675)

Please keep replies on-topic in the future.

---

<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:** [May 5, 2022, 10:25pm UTC](https://forum.qiime2.org/t/error-to-install-qiime2-2022-2-with-conda/22503/12 "2022-05-05T22:25:09Z")

</div>

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