Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add correct distribution channel for pyculib for windows?

I'm trying to install Nvidia's GPU python packages via conda package distribution, but I'm running into the following errors:

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

  - pyculib

Current channels:

  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch

What is the correct distribution channel for CuPy and pyculib packages?

like image 419
Mr.Drew Avatar asked Dec 07 '25 08:12

Mr.Drew


1 Answers

pyculib is collected in the free channel. But the free channel is remove in conda 4.7.

Quote from Why We Removed the “Free” Channel in Conda 4.7

One of the changes we made in Conda 4.7 was the removal of a software collection called “free” from the default channel configuration. The “free” channel is our collection of packages prior to the switch in recipes/compilers that we did for the Anaconda Distribution 5.0 release.

Solution: re-enable free channel.

  1. Enable free channel globally.

    conda config --set restore_free_channel true
    conda install pyculib
    
  2. Enable free channel for current active environment only.

    conda config --set restore_free_channel true --env
    conda install pyculib
    
  3. Temporary use free channel in a single command.

    CONDA_RESTORE_FREE_CHANNEL=1 conda install pyculib
    
like image 170
Simba Avatar answered Dec 08 '25 20:12

Simba