trouble installing Qiime2

hello, I am having trouble installing Qiime2, when i input the wget and the conda env create -n qiime2-2023.2 --file qiime2-2023.2-py38-linux-conda.yml on the WSL, i get error messages:

(base) C:\Users\Priscillar>wget
'wget' is not recognized as an internal or external command,
operable program or batch file.

(base) C:\Users\Priscillar>conda env create -n qiime2-2023.2 --file qiime2-2023.2-py38-linux-conda.yml

EnvironmentFileNotFound: 'C:\Users\Priscillar\qiime2-2023.2-py38-linux-conda.yml' file not found

I have installed Miniconda, and I don't how to get past this.

Please assist

Hi @Priscillar_Wenyika,
Looks like you don't have wget installed.

run this command

 pip install wget 

and then you should be able to run with no problem!


hello, thank you so much, let me try that

Actually the pip install wont work. I just realized that you are on a WSL. You will need to look up how to get wget installed on a WSL and then you will be good to go!

so the wget isntalled but when I go to the next step, it says this:

'wget' is not recognized as an internal or external command,
operable program or batch file.

Can you send a screenshot of what it said when wget installed?

Hello @Priscillar_Wenyika have you gone through the steps to set up WSL itself? Assuming you have, can you try pip uninstall wget or if that doesn't work pip uninstall wget-3.2 then sudo apt install wget. Normally you would use the apt package manager to install a package like wget on Linux. Pip install wget most likely installed a Python library for using wget. I am assuming that if you setup WSL correctly it works the same way, but I have never used WSL myself, so I apologize if I don't understand some things.

That being said, I do not understand why the conda install didn't work, so it is also possible there is something wrong with your WSL or your conda install. Instructions for installing and setting up WSL may be found here.

okay, thank you, let me try that

unistall was successful. but installation with sudo didn't work

Can you show me what it said? I'm not positive your WSL is properly set up because I would expect the conda install to work if it was.

sure, let me send a screenshot

What is the output of wsl --list --verbose?

1 Like

Can you run wsl -u root and show me your terminal after that?

1 Like

okay, here it is

Ok, THAT looks more like a Linux terminal to me. I think you were running the commands on Windows, not WSL before. Try running the install tutorial here now and let me know how it goes.

1 Like