Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

error when creating a new environment, UnavailableInvalidChannel: The channel is not accessible or is invalid

I am trying to create a new environment from yml file and it is not successful. Not sure what is the problem? Can anyone give me a hand? Thanks


(base) U:\Data>conda env create -f dash_env.yml
Collecting package metadata (repodata.json): failed

(base) U:\Data>conda env create -f dash_env.yml
Collecting package metadata (repodata.json): failed

UnavailableInvalidChannel: The channel is not accessible or is invalid.
  channel name: plotly
  channel url: http://anaconda-teamedition.cnrl.com/api/repo/plotly
  error code: 404

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.

The data in my yml file starts with these:


name: dash
channels:
  - plotly
  - bashtage
  - conda-forge
  - anaconda
  - defaults
dependencies:
  - _tflow_select=2.3.0=mkl
  - absl-py=0.15.0=pyhd3eb1b0_0
  - aiohttp=3.8.1=py38h2bbff1b_0

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

It looks like you are using the Team (Enterprise) edition of Anaconda – this means that you are using a restricted or on premises server which will have channels other than the public ones. In this case it looks like the plotly channel is not included in your permitted or hosted list.

You can do one of:

  1. Search the available channels for one that includes a version of plotly
  2. Contact your system administrators to request the channel be made available.
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading