Collecting package metadata (current_repodata.json): failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/linux-64/current_repodata.json>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
'https//repo.anaconda.com/pkgs/main/linux-64'
And of course it is not the network issue.
Also, cannot run the command
Although I can access the https via a browser.
The version wget I have is 1.21.2.
I see there are a few posts like this on the Forum, but many of them do not have answers (the initiating person never replied to the comments of the Qiime team). So I hope you can help me out.
These most certainly seem like networking issues, why do you say that you think they aren't?
You said that you were able to access some of these urls in your browser--did you use a browser in WSL or in windows? To troubleshoot your network connection within WSL, you can start by trying ping -c 2 www.google.com in the terminal inside of WSL. If you get something like "unknown host" then you likely haven't gotten a network connection set up inside of WSL.
I used the browser in the Windows and was able to successfully access the given websites.
However, indeed, now that I checked the WSL connection with
ping -c 2 www.google.com
I see there is a network issue.
It looks like you have the newest version of WSL (version 2). Do you know if you have any firewalls or antivirus software set up on your windows machine?
You could try resetting your network connection inside windows (Settings > Network & Internet > Status > Network reset).
What does the command cat /etc/resolv.conf output in your linux terminal?
I actually went ahead and downgraded to WSL 1, and then I finally got the internet connection on the WSL (so was able to install conda and run conda update conda successfully).
BUT
The next command:
~$ conda env create -n qiime2-2023.5 --file qiime2-2023.5-py38-linux-conda.yml
Collecting package metadata (repodata.json): done
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
Examining conflict for unifrac q2-deblur numpy q2-types q2-gneissExamining conflict for formulaic unifrac q2-types q2-diversity-liExamining conflict for formulaic unifrac q2-types q2-diversity-liExamining conflict for umap-learn q2-sample-classifier threadpoolExamining conflict for umap-learn q2-sample-classifier threadpoolExamining conflict for formulaic statsmodels umap-learn numpy empExamining conflict for formulaic statsmodels umap-learn numpy empExamining conflict for formulaic statsmodels umap-learn emperor sExamining conflict for formulaic statsmodels umap-learn emperor sExamining conflict for toolz q2-composition altair: 57%|████████
.......(I omit many lines of similar stuff as above)...............
Examining conflict for r-tidyverse r-dbplyr q2-composition: : 772 failed
And then at the emd it gave this output:
Your installed version is: 2.31
Note that strict channel priority may have removed packages required for satisfiability.
But running the command
conda activate qiime2-2023.5
Gave:
EnvironmentNameNotFound: Could not find conda environment: qiime2-2023.5
You can list all discoverable environments with conda info --envs.
Any idea how to solve this issue with the conflicting packages and problem with making an environment for qiime?
What does conda config --show channel_priority say? If it says strict, try running conda config --set channel_priority flexible and then try solving the environment again.