QIIME 2 installation issue - "ResolvePackageNotFound"

I installed miniconda3 and WSL and followed the "Natively installing QIIME 2" instructions on the qiime2docs website.
These are the commands I ran in the miniconda3 powershell:
conda update conda
conda install wget
wget https://data.qiime2.org/distro/amplicon/qiime2-amplicon-2023.9-py38-linux-conda.yml
conda env create -n qiime2-amplicon-2023.9 --file qiime2-amplicon-2023.9-py38-linux-conda.yml

This didn't seem to download the yml and file unless I used this to download it under Admin.
wget -O C:\Users\Admin\qiime2-amplicon-2023.9-py38-linux-conda.yml https://data.qiime2.org/distro/amplicon/qiime2-amplicon-2023.9-py38-linux-conda.yml

Now, when trying to create the environment, the second line could find the file but failed to create the environment. This is is the code and output of the last step:

(base) PS C:\Users\Admin> conda env create -n qiime2-amplicon-2023.9 --file qiime2-amplicon-2023.9-py38-linux-conda.yml
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:

  • sed=4.8
  • ncurses=6.4
  • r-mass=7.3_60
  • scikit-bio=0.5.8
  • qiime2=2023.9.2
  • q2galaxy=2023.9.0
  • emperor=1.0.3
    --> a ton more packages where also missing but didn't paste them in

I then maunally cut and paste the yml file into my miniconda3 folder and also added the qiime2 channel hoping that the packages would be present but got the same result as above.
Here is the code:
(base) PS C:\Users\Admin\miniconda3> conda config --add channels conda-forge
Warning: 'conda-forge' already in 'channels' list, moving to the top
(base) PS C:\Users\Admin\miniconda3> conda config --add channels qiime2
(base) PS C:\Users\Admin\miniconda3> conda env create -n qiime2-amplicon-2023.9 --file qiime2-amplicon-2023.9-py38-linux-conda.yml
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:

  • wget=1.20.3
  • q2-composition=2023.9.0
  • cutadapt=4.5
    --> etc. again many more packages not found

This is my first time attempting to install qiime2 and I am new to unix like coding languages so I am probably missing something obvious. Any ideas?

Thanks in advance,
Michael

Are you sure you are running linux (WSL)? From your path, it looks like you are running windows command line. I suppose, you should first make sure how to run WSL Ubuntu and from there try to install conda and qiime subsequently.

1 Like

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