QIIME 2 2020.6 error solving env on WSL

I was installing the 2020.6 in pc laptop using a mininconda in the windows subsystem for linux and I get the “Solving environment: failed” error. BTW I also installed it in my Mac and I had no problems.
Thank you

Hi @nietof! Please share the commands you ran, as well as the full error message observed - thanks!


these are the commands:
(base) C:\Windows\system32>wget https://data.qiime2.org/distro/core/qiime2-2020.6-py36-linux-conda.yml --no-check-certificate
–2020-06-30 20:20:30-- https://data.qiime2.org/distro/core/qiime2-2020.6-py36-linux-conda.yml
Resolving data.qiime2.org (data.qiime2.org)…
Connecting to data.qiime2.org (data.qiime2.org)||:443… connected.
WARNING: cannot verify data.qiime2.org’s certificate, issued by ‘CN=Sectigo RSA Domain Validation Secure Server CA,O=Sectigo Limited,L=Salford,ST=Greater Manchester,C=GB’:
Unable to locally verify the issuer’s authority.
HTTP request sent, awaiting response… 302 FOUND
Location: https://raw.githubusercontent.com/qiime2/environment-files/master/2020.6/release/qiime2-2020.6-py36-linux-conda.yml [following]
–2020-06-30 20:20:30-- https://raw.githubusercontent.com/qiime2/environment-files/master/2020.6/release/qiime2-2020.6-py36-linux-conda.yml
Resolving raw.githubusercontent.com (raw.githubusercontent.com)…
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)||:443… connected.
WARNING: cannot verify raw.githubusercontent.com’s certificate, issued by ‘CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US’:
Unable to locally verify the issuer’s authority.
HTTP request sent, awaiting response… 200 OK
Length: 9071 (8.9K) [text/plain]
Saving to: ‘qiime2-2020.6-py36-linux-conda.yml.1’

qiime2-2020.6-py36-linux-cond 100%[===================================================>] 8.86K --.-KB/s in 0.02s

2020-06-30 20:20:31 (375 KB/s) - ‘qiime2-2020.6-py36-linux-conda.yml.1’ saved [9071/9071]

(base) C:\Windows\system32>conda env create -n qiime2-2020.6 --file qiime2-2020.6-py36-linux-conda.yml
Collecting package metadata (repodata.json): done
Solving environment: failed

Thank you

Hi @nietof,

If I am not mistaken, it appears as if you are entering commands into the Windows Command Prompt, and not the Windows Subsystem for Linux.

You’ll have to install WSL onto your system following the details in the link provided. I am currently using the Ubuntu 18.04 LTS in my WSL.

Here is a screenshot of my Windows 10 Taskbar with the Windows Command Prompt (left) and the Ubuntu 18.04 LTS WSL (right).


Basically, I’ll open my Ubuntu WSL and then activate QIIME 2 as I would on any Linux system. From here you can proceed as you would on your Mac or Linux machine.

I hope this helps! I am sure others will have other insights on this too!



I am not very familiar with the PC WSL. I have the ubuntu terminal working (I assume that i have the WSL installed), but I am not sure how to install miniconda for ubuntu. Do I have to download the linux version of miniconda to my PC? How do I then install the package from within Ubuntu?
Thank you

Hi @nietof,

If you have the ubuntu terminal working then you should be good to go. Yes, you’ll have to install conda into that WSL environment, as you would a standard linux machine. The easiest way is to go here to obtain the conda installer.

That is, while you are in the WSL Ubuntu terminal you can run the following to install the 64-bit linux version of miniconda:

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

Then install as per this, following any onscreen instructions:

bash Miniconda3-latest-Linux-x86_64.sh

Once that is done, you can follow the QIIME 2 WSL install instructions while in the WSL Ubuntu terminal.


1 Like

thanks, it looks like it is working. I install miniconda and when fetching the data for the qiime2 installation the processes gets hung up on “Solving package specifications” and it doesn’t move!!!
Any suggestions/
thank you

Hmm… not sure what the problem is. Before attempting to install qiime, did you run conda update conda?

Hopefully, others will have suggestions.


just wait — sometimes this process can take a long time to complete

1 Like