# Solving environment: failed ResolvePackageNotFound:

**URL:** https://forum.qiime2.org/t/solving-environment-failed-resolvepackagenotfound/22561
**Category:** Technical Support
**Created:** [March 24, 2022, 6:45pm UTC](https://forum.qiime2.org/t/solving-environment-failed-resolvepackagenotfound/22561 "2022-03-24T18:45:49Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![umang](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/u/db5fbb/32.png) [@umang](https://forum.qiime2.org/u/umang)
#### Post date: [March 24, 2022, 6:45pm UTC](https://forum.qiime2.org/t/solving-environment-failed-resolvepackagenotfound/22561/1 "2022-03-24T18:45:50Z")

</div>

I keep getting the following error message while installing qiime2 on ubuntu (Mac M1, parallels). I have tried restarting, re-installing conda to no avail.Any help is much appreciated

(base) parallels@ubuntu-linux-20-04-desktop:~/Downloads$ conda env create -n qiime2-2022.2 --file qiime2-2022.2-py38-linux-conda.yml  
Collecting package metadata (repodata.json): done  
Solving environment: failed

ResolvePackageNotFound:

- iqtree=2.2.0\_beta
- bioconductor-s4vectors=0.32.0
- perl-pathtools=3.75
- r-vegan=2.5\_7
- q2-gneiss=2022.2.0
- q2-quality-filter=2022.2.0
- libgcc=7.2.0
- bioconductor-shortread=1.52.0
- vsearch=2.7.0
- samtools=1.14
- q2-sample-classifier=2022.2.0
- q2-cutadapt=2022.2.0
- python-isal=0.11.1
- bowtie2=2.4.5
- bioconductor-delayedarray=0.20.0
- q2-quality-control=2022.2.0
- unifrac=0.20.3
- bioconductor-biostrings=2.62.0
- q2-demux=2022.2.0
- bioconductor-iranges=2.28.0
- bioconductor-biocparallel=1.28.0
- blast=2.12.0
- q2-deblur=2022.2.0
- biom-format=2.1.10
- bioconductor-biobase=2.54.0
- hdmedians=0.14.2
- q2templates=2022.2.0
- q2-metadata=2022.2.0
- perl-list-moreutils-xs=0.430
- q2-alignment=2022.2.0
- q2-vsearch=2022.2.0
- perl-scalar-list-utils=1.61
- fasttree=2.1.10
- q2-composition=2022.2.0
- bioconductor-genomicranges=1.46.0
- entrez-direct=16.2
- qiime2=2022.2.0
- bioconductor-dada2=1.22.0
- bioconductor-zlibbioc=1.40.0
- perl-json-xs=2.34
- q2-phylogeny=2022.2.0
- htslib=1.14
- emperor=1.0.3
- q2-taxa=2022.2.0
- bioconductor-rsamtools=2.10.0
- sortmerna=2.0
- raxml=8.2.12
- libimagequant=2.17.0
- perl-compress-raw-bzip2=2.101
- perl-io-compress=2.102
- scikit-bio=0.5.6
- q2-mystery-stew=2022.2.0
- isa-l=2.30.0
- q2-longitudinal=2022.2.0
- q2-emperor=2022.2.0
- bioconductor-xvector=0.34.0
- q2-diversity-lib=2022.2.0
- xopen=1.4.0
- q2-dada2=2022.2.0
- bioconductor-rhtslib=1.26.0
- mafft=7.490
- q2-feature-classifier=2022.2.0
- r-rcppparallel=5.1.5
- q2galaxy=2022.2.0
- dnaio=0.7.1
- cutadapt=3.5
- perl-compress-raw-zlib=2.101
- q2-types=2022.2.0
- sepp=4.3.10
- q2-feature-table=2022.2.0
- q2-fragment-insertion=2022.2.0
- q2-diversity=2022.2.0
- bioconductor-genomicalignments=1.30.0
- perl-encode=3.16
- q2cli=2022.2.0
- hmmer=3.1b2
- pbzip2=1.1.13

---

<div class="post-metadata">

### Author: ![timanix](https://forum.qiime2.org/user_avatar/forum.qiime2.org/timanix/32/17879_2.png) [@timanix](https://forum.qiime2.org/u/timanix)
#### Post date: [March 24, 2022, 7:10pm UTC](https://forum.qiime2.org/t/solving-environment-failed-resolvepackagenotfound/22561/2 "2022-03-24T19:10:51Z")

</div>

Hello and welcome to the forum!  
Wich version of conda you are using?  
Could you try to clean your conda first with this command (it will clean downloaded packages, but not affect already installed):  
`conda clean --all -y`  
And the try to install Qiime2 again.

---

<div class="post-metadata">

### Author: ![umang](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/u/db5fbb/32.png) [@umang](https://forum.qiime2.org/u/umang)
#### Post date: [March 24, 2022, 9:42pm UTC](https://forum.qiime2.org/t/solving-environment-failed-resolvepackagenotfound/22561/3 "2022-03-24T21:42:48Z")

</div>

am using conda version : 4.12.0

---

<div class="post-metadata">

### Author: ![umang](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/u/db5fbb/32.png) [@umang](https://forum.qiime2.org/u/umang)
#### Post date: [March 24, 2022, 9:42pm UTC](https://forum.qiime2.org/t/solving-environment-failed-resolvepackagenotfound/22561/4 "2022-03-24T21:42:50Z")

</div>

thank you for the response. I tried cleaning and got this message  
Cache location:  
There are no tarballs to remove  
WARNING: /home/parallels/.conda/pkgs does not exist  
Cache location:  
There are no unused packages to remove  
Tried installing Qiime2 again and still get the resolve package error

---

<div class="post-metadata">

### Author: ![timanix](https://forum.qiime2.org/user_avatar/forum.qiime2.org/timanix/32/17879_2.png) [@timanix](https://forum.qiime2.org/u/timanix)
#### Post date: [March 25, 2022, 8:02am UTC](https://forum.qiime2.org/t/solving-environment-failed-resolvepackagenotfound/22561/5 "2022-03-25T08:02:15Z")

</div>

Could you also check the relevant discussion here?

> [@Problems installing QIIME2 2021.11 on M1 Mac](https://forum.qiime2.org/t/problems-installing-qiime2-2021-11-on-m1-mac/21763):
>
> Hey there I want to install the program but ran into some issues, downloading the packages and info works but when attempting to create the new environment there is an error. % wget [https://data.qiime2.org/distro/core/qiime2-2021.11-py38-osx-conda.yml](https://data.qiime2.org/distro/core/qiime2-2021.11-py38-osx-conda.yml) conda env create -n newqiime2-2021.11 --file qiime2-2021.11-py38-osx-conda.yml --2022-01-02 18:00:45-- [https://data.qiime2.org/distro/core/qiime2-2021.11-py38-osx-conda.yml](https://data.qiime2.org/distro/core/qiime2-2021.11-py38-osx-conda.yml) Resolving [data.qiime2.org](http://data.qiime2.org)... 54.200.1.12 Connecting to data.qiime2.or…

---

<div class="post-metadata">

### Author: ![umang](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/u/db5fbb/32.png) [@umang](https://forum.qiime2.org/u/umang)
#### Post date: [March 29, 2022, 7:20pm UTC](https://forum.qiime2.org/t/solving-environment-failed-resolvepackagenotfound/22561/6 "2022-03-29T19:20:34Z")

</div>

Thank you Timur. I did the mini forge installation, and activated the Roseta mode but when creating a subdirectory for Qiime2 (3rd point ) it throws this error

base) umangjain@Umangs-MacBook-Pro ~ % CONDA\_SUBDIR=osx-64 conda env create -n qiime2-2021.11 --file qiime2-2021.11-py38-osx-conda.yml

SpecNotFound: Invalid name, try the format: user/package

I hope you can help me with this

---

<div class="post-metadata">

### Author: ![umang](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/u/db5fbb/32.png) [@umang](https://forum.qiime2.org/u/umang)
#### Post date: [March 30, 2022, 5:49pm UTC](https://forum.qiime2.org/t/solving-environment-failed-resolvepackagenotfound/22561/8 "2022-03-30T17:49:55Z")

</div>

> [@umang](#):
>
> elp me with this

I finally figured out by adding the latest version of Qiime2. Thank you!

---

<div class="post-metadata">

### Author: ![timanix](https://forum.qiime2.org/user_avatar/forum.qiime2.org/timanix/32/17879_2.png) [@timanix](https://forum.qiime2.org/u/timanix)
#### Post date: [March 31, 2022, 6:56am UTC](https://forum.qiime2.org/t/solving-environment-failed-resolvepackagenotfound/22561/9 "2022-03-31T06:56:58Z")

</div>

Thank you for the update! Glad that you figured it out!

---

<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 1, 2022, 12:57pm UTC](https://forum.qiime2.org/t/solving-environment-failed-resolvepackagenotfound/22561/10 "2022-05-01T12:57:03Z")

</div>

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