wget error when attempting native installation using WSL2

Hi there,

I was trying to install Qiime2 (version 2020.11) within miniconda3. I am running WSL2 and I am sure it is active (typed in wsl -l -v on powershell and it says version 2 is currently running). However, I ran in to a problem with “wget” installation. Can anyone help how to solve the issue? Thanks in advance.

(base) PS C:\WINDOWS\system32> conda install wget
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  • wget

Current channels:

To search for alternate channels that may provide the conda package you’re
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

Hey there @Kevin_Ketagoda! Looks like you’re well on your way to getting QIIME 2 set up, congrats! So the issue here though is this:

You will actually need to run the installation commands (including installing conda) inside of a WSL shell. WSL provides a mechanism for Windows to run Linux tools, so make sure you install the Linux version of miniconda inside that WSL shell.