Installation - environment file not found

Hi all!

Brand new to QIIME2 and with the Python environment as well. I'm running into an issue during the installation process that is close to what is posted on here, but I haven't been able to figure out this exact problem. I am trying to run QIIME 2 in a conda environment with a Windows Linux installer system. I am following the step-by-step installer guide (Natively installing QIIME 2 — QIIME 2 2023.7.0 documentation) and this is where I'm stuck: after creating a new QIIME 2 environment, I'm getting an error after this line of code:

conda env create -n qiime2-2023.7 --file qiime2-2023.7-py38-linux-conda.yml

I think I installed wget correctly (with "conda install python-wget"), but then I get this error after trying to run the second line:

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

Any help is appreciated!

Hello @rjay428,

It looks like you're in your windows command prompt, make sure you're in the linux command prompt for the qiime installation.

Hi @rjay428!
Welcome to the :qiime2: forum!

Hmm this is weird! As I think you have already figured out. This errror indicated that the file is not being downloaded to your computer.

After you run this line:

What happens? Does it say it was successful in downloading this file?
After you run this command can you make sure that this file qiime2-2023.7-py38-linux-conda.yml is in your directory?

Hope that helps!

This is what came up:

StatusCode : 200
StatusDescription : OK
Content : channels:
- qiime2/label/r2023.7
- bioconda
- conda-forge
- defaults
- _libgcc_mutex=0.1
- _openmp_mutex=4.5
- _r-mutex=1.0.1
- alsa-lib=1.2.8
- altair=5.0.1
- anyio=3.7.1
- appdirs=1.4....
RawContent : HTTP/1.1 200 OK
Connection: keep-alive
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
Forms : {}
Headers : {[Connection, keep-alive], [Content-Security-Policy, default-src 'none'; style-src
'unsafe-inline'; sandbox], [Strict-Transport-Security, max-age=31536000], [X-Content-Type-Options,
Images : {}
InputFields : {}
Links : {}
ParsedHtml : mshtml.HTMLDocumentClass
RawContentLength : 13917

Would you recommend manually downloading and moving the file in my directory somewhere? When I click the link it comes up with a list of channels and dependencies; should I create that as a text file?

You could just manual download the file(it is the text file you saw) and put it in the directory that you are using. But it would probably be good to figure out this wget issue.

Are you using WSL? (What is Windows Subsystem for Linux | Microsoft Learn)

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