conda-forge / conda-forge/conda-forge.github.io

UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel

Open
#2,153 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
170
Forks
320
Avg merge
2d 10h
Merged PRs (30d)
5

Description

### Your question:

Hello Everyone,
I am having an issue with running channels on conda. I am trying to run this command `conda create --name --file ` but I keep getting this error: UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel. When I initially ran 'conda create...' I got this error:

```
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed

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

- barrnap==0.9=hdfd78af_4
- hmmer==3.4=hdbdd923_1
- iqtree==2.3.0=h21ec9f0_0
- bedtools==2.31.1=hf5e1c6e_1
- mafft==7.525=h031d066_1
- ete3==3.1.3=pyh1d129d4_0

Current channels:

- https://conda.anaconda.org/conda-forge/linux-64
- https://conda.anaconda.org/conda-forge/noarch

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.
```

Since I didn't have the appropriate channels I did `conda config --add channels ` for all the channels that I needed. Then I get this error:

```
Collecting package metadata (current_repodata.json): done
Solving environment: done

UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel mafft

The channel is not accessible or is invalid.

You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state,
and use `conda config --show-sources` to view config file locations.
```

I have tried clearing the cache by doing `conda clean -i` then I tried rerunning; got the same error. Removed all the channels with `conda config --remove-key channels`. Re-added all of the channels but I am still getting the same error. Any suggestions on what I could do to fix this would be much appreciated. Thank you for your time!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.