anaconda install non-existing package

As a toolkit integrated management tool, Anaconda is very convenient to download the python toolkit, just type:

conda install package_name
  • 1

But sometimes when installing a toolkit (such as skimage), the package cannot be found in the current channels, and it will prompt:

PackageNotFoundError: Packages missing in current channels:

  - skimage

We have searched for the packages in the following channels:

  - https://repo.continuum.io/pkgs/main/linux-64 - https://repo.continuum.io/pkgs/main/noarch - https://repo.continuum.io/pkgs/free/linux-64 - https://repo.continuum.io/pkgs/free/noarch - https://repo.continuum.io/pkgs/r/linux-64 - https://repo.continuum.io/pkgs/r/noarch - https://repo.continuum.io/pkgs/pro/linux-64 - https://repo.continuum.io/pkgs/pro/noarch
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14

write picture description here

At this time, we can use the following command to find the package we want to install (take skimage as an example)

$ anaconda search -t conda skimage 
  • 1

write picture description here

As shown in the image above, here we found a usable skimage package called DavidMertz/accelerate-skimage.

Next, we use the show command to view the details of the package

$ anaconda show  DavidMertz/accelerate-skimage
  • 1

write picture description here

According to the prompt, we use the following command to install this package

$  conda install --channel https://conda.anaconda.org/DavidMertz accelerate-skimage
  • 1

write picture description here

Select y (yes), and then wait for the download and 
write picture description here 
installation to complete. We can open python to see if the skimage package has been successfully imported. If it is entered in python import skimagewithout an error, it is successful.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324914381&siteId=291194637