Python – conda installation: Packages missing in current channels

conda installation: Packages missing in current channels… here is a solution to the problem.

conda installation: Packages missing in current channels

I think something is wrong with my Conda. I’m trying to install the “coding” package but I get the following error: (There are other packages like tarfile, and I get a message like the following).

Requirements:

conda install coding

Return:

    (.. /anaconda/envs/py2) :ud120-projects-master$ conda install coding
Fetching package metadata ...........

PackageNotFoundError: Packages missing in current channels:

- coding

We have searched for the packages in the following channels:

- https://repo.continuum.io/pkgs/main/osx-64
  - https://repo.continuum.io/pkgs/main/noarch
  - https://repo.continuum.io/pkgs/free/osx-64
  - https://repo.continuum.io/pkgs/free/noarch
  - https://repo.continuum.io/pkgs/r/osx-64
  - https://repo.continuum.io/pkgs/r/noarch
  - https://repo.continuum.io/pkgs/pro/osx-64
  - https://repo.continuum.io/pkgs/pro/noarch

What should I do to fix it? Doing “conda install -c coding” doesn’t help — as suggested on some other threads.

Thank you for your help

Solution

Try doing anaconda search -t conda coding. If you get the package you’re looking for, get the package details by executing anaconda show <FULL_PACKAGE_NAME>. This command will give you the exact command with channel, from where you can install the package.

Related Problems and Solutions