climate4R icon indicating copy to clipboard operation
climate4R copied to clipboard

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

Open machooljoy opened this issue 3 years ago • 4 comments

Hi there,

I have downloaded Miniconda and used the code given on Github to create a new environment and to download the climate4r packages. However, I get the error PackagesNotFoundError after using the command below.

conda install -c conda-forge -c r -c defaults -c santandermetgroup climate4r

This may be a stupid question but I am new to Miniconda/Anaconda and do not know how to resolve this.

machooljoy avatar Sep 28 '21 10:09 machooljoy

found a way around it

machooljoy avatar Sep 29 '21 11:09 machooljoy

Dear @machooljoy,

Please can you provide exactly the error and the output the command it's providing?

Which way around did you find it?

Regards

cofinoa avatar Sep 29 '21 13:09 cofinoa

(base) RN-145-90-176-205:~ joymachool$ conda activate climate4r (climate4r) RN-145-90-176-205:~ joymachool$ conda install -c conda-forge -c r -c defaults -c santandermetgroup climate4r Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve.

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

  • climate4r

Current channels:

  • https://conda.anaconda.org/conda-forge/osx-64
  • https://conda.anaconda.org/conda-forge/noarch
  • https://conda.anaconda.org/r/osx-64
  • https://conda.anaconda.org/r/noarch
  • https://repo.anaconda.com/pkgs/main/osx-64
  • https://repo.anaconda.com/pkgs/main/noarch
  • https://repo.anaconda.com/pkgs/r/osx-64
  • https://repo.anaconda.com/pkgs/r/noarch
  • https://conda.anaconda.org/santandermetgroup/osx-64
  • https://conda.anaconda.org/santandermetgroup/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.

I downloaded all the packages directly from GitHub in R, that was my way 'around' it

machooljoy avatar Sep 29 '21 17:09 machooljoy

I'd be curious to know what the "proper" solution is to this. I've run into it as well with a fresh miniconda install on my M3 Max MacBook Pro.

I can install straight from GitHub, but would like to understand why the README instructions fail first.

adamhsparks avatar Feb 06 '24 08:02 adamhsparks