conda install -c conda-forge cupy

on Windows11

PS D:\Download> conda install -c conda-forge cupy
Channels:
 - conda-forge
 - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
 - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
 - defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: C:\Users\Administrator\anaconda3

  added / updated specs:
    - cupy
done

 

on Ubuntu23

(base) root@ubuntulenovo:/home/renguoqiang# conda install -c conda-forge cupy
Collecting package metadata (current_repodata.json): / WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.7.1.*, but conda is ignoring the .* and treating it as 1.7.1
done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 23.7.4
  latest version: 23.11.0

Please update conda by running

    $ conda update -n base -c defaults conda

Or to minimize the number of packages updated during conda update use

     conda install conda=23.11.0



## Package Plan ##

  environment location: /opt/anaconda3

  added / updated specs:
    - cupy


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _libgcc_mutex-0.1          |      conda_forge           3 KB  conda-forge
    _openmp_mutex-4.5          |       2_kmp_llvm           6 KB  conda-forge
    ca-certificates-2023.11.17 |       hbcca054_0         151 KB  conda-forge
    certifi-2023.11.17         |     pyhd8ed1ab_0         155 KB  conda-forge
    cuda-cudart-12.2.140       |       hd3aeb46_0          22 KB  conda-forge
    cuda-cudart_linux-64-12.2.140|       h59595ed_0         179 KB  conda-forge
    cuda-nvrtc-12.2.140        |       hd3aeb46_0        17.5 MB  conda-forge
    cuda-nvtx-12.2.140         |       h59595ed_0          31 KB  conda-forge
    cuda-version-12.2          |       he2b69de_2          21 KB  conda-forge
    cupy-12.3.0                |  py311h287edf0_0        36.3 MB  conda-forge
    fastrlock-0.8.2            |  py311hb755f60_2          37 KB  conda-forge
    libcublas-12.2.5.6         |       hd3aeb46_0       246.7 MB  conda-forge
    libcufft-11.0.8.103        |       hd3aeb46_0        59.9 MB  conda-forge
    libcurand-10.3.3.141       |       hd3aeb46_0        39.8 MB  conda-forge
    libcusolver-11.5.2.141     |       hd3aeb46_0        76.3 MB  conda-forge
    libcusparse-12.1.2.141     |       hd3aeb46_0       106.9 MB  conda-forge
    libgcc-ng-13.2.0           |       h807b86a_3         755 KB  conda-forge
    libnvjitlink-12.2.140      |       hd3aeb46_0        15.2 MB  conda-forge
    libstdcxx-ng-13.2.0        |       h7e041cc_3         3.7 MB  conda-forge
    llvm-openmp-14.0.6         |       h9e868ea_0         4.4 MB
    numba-0.57.1               |  py311h96b013e_0         5.3 MB  conda-forge
    openssl-3.2.0              |       hd590300_1         2.7 MB  conda-forge
    python_abi-3.11            |          2_cp311           5 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       616.1 MB

The following NEW packages will be INSTALLED:

  cuda-cudart        conda-forge/linux-64::cuda-cudart-12.2.140-hd3aeb46_0
  cuda-cudart_linux~ conda-forge/noarch::cuda-cudart_linux-64-12.2.140-h59595ed_0
  cuda-nvrtc         conda-forge/linux-64::cuda-nvrtc-12.2.140-hd3aeb46_0
  cuda-nvtx          conda-forge/linux-64::cuda-nvtx-12.2.140-h59595ed_0
  cuda-version       conda-forge/noarch::cuda-version-12.2-he2b69de_2
  cupy               conda-forge/linux-64::cupy-12.3.0-py311h287edf0_0
  fastrlock          conda-forge/linux-64::fastrlock-0.8.2-py311hb755f60_2
  libcublas          conda-forge/linux-64::libcublas-12.2.5.6-hd3aeb46_0
  libcufft           conda-forge/linux-64::libcufft-11.0.8.103-hd3aeb46_0
  libcurand          conda-forge/linux-64::libcurand-10.3.3.141-hd3aeb46_0
  libcusolver        conda-forge/linux-64::libcusolver-11.5.2.141-hd3aeb46_0
  libcusparse        conda-forge/linux-64::libcusparse-12.1.2.141-hd3aeb46_0
  libnvjitlink       conda-forge/linux-64::libnvjitlink-12.2.140-hd3aeb46_0
  llvm-openmp        pkgs/main/linux-64::llvm-openmp-14.0.6-h9e868ea_0
  python_abi         conda-forge/linux-64::python_abi-3.11-2_cp311

The following packages will be REMOVED:

  libgomp-11.2.0-h1234567_1

The following packages will be UPDATED:

  ca-certificates    pkgs/main::ca-certificates-2023.08.22~ --> conda-forge::ca-certificates-2023.11.17-hbcca054_0
  certifi            pkgs/main/linux-64::certifi-2023.7.22~ --> conda-forge/noarch::certifi-2023.11.17-pyhd8ed1ab_0
  libgcc-ng          pkgs/main::libgcc-ng-11.2.0-h1234567_1 --> conda-forge::libgcc-ng-13.2.0-h807b86a_3
  libstdcxx-ng       pkgs/main::libstdcxx-ng-11.2.0-h12345~ --> conda-forge::libstdcxx-ng-13.2.0-h7e041cc_3
  openssl              pkgs/main::openssl-3.0.10-h7f8727e_2 --> conda-forge::openssl-3.2.0-hd590300_1

The following packages will be SUPERSEDED by a higher-priority channel:

  _libgcc_mutex           pkgs/main::_libgcc_mutex-0.1-main --> conda-forge::_libgcc_mutex-0.1-conda_forge
  _openmp_mutex          pkgs/main::_openmp_mutex-5.1-1_gnu --> conda-forge::_openmp_mutex-4.5-2_kmp_llvm
  numba              pkgs/main::numba-0.57.1-py311ha02d727~ --> conda-forge::numba-0.57.1-py311h96b013e_0


Proceed ([y]/n)? y


Downloading and Extracting Packages
libstdcxx-ng-13.2.0  | 3.7 MB    | ################################################################################################################# | 100%
libcusparse-12.1.2.1 | 106.9 MB  | #######6                                                                                                          |   7% openssl-3.2.0        | 2.7 MB    | ################################################################################################################# | 100%
libcublas-12.2.5.6   | 246.7 MB  | ########4                                                                                                         |   7% cuda-version-12.2    | 21 KB     | ################################################################################################################# | 100% libcurand-10.3.3.141 | 39.8 MB   | #######################################################################################3                          |  77% certifi-2023.11.17   | 155 KB    | ################################################################################################################# | 100% _openmp_mutex-4.5    | 6 KB      | ################################################################################################################# | 100% cuda-nvtx-12.2.140   | 31 KB     | ################################################################################################################# | 100% fastrlock-0.8.2      | 37 KB     | ################################################################################################################# | 100% ca-certificates-2023 | 151 KB    | ################################################################################################################# | 100% cuda-nvrtc-12.2.140  | 17.5 MB   | ################################################################################################################# | 100% cupy-12.3.0          | 36.3 MB   | ################################################################################################################# | 100% cuda-cudart_linux-64 | 179 KB    | ################################################################################################################# | 100% libnvjitlink-12.2.14 | 15.2 MB   | ############################################################################################################7     |  96% libcufft-11.0.8.103  | 59.9 MB   | #########5                                                                                                        |   8% libgcc-ng-13.2.0     | 755 KB    |                                                                                                                   |   0%
cuda-cudart-12.2.140 | 22 KB     |                                                                                                                   |   0%
libcusolver-11.5.2.1 | 76.3 MB   |                                                                                                                   |   0%
numba-0.57.1         | 5.3 MB    |                                                                                                                   |   0%
llvm-openmp-14.0.6   | 4.4 MB    |                                                                                                                   |   0%
_libgcc_mutex-0.1    | 3 KB      |                                                                                                                   |   0%
python_abi-3.11      | 5 KB      |                                                                                                                   |   0%


The following packages will be REMOVED:

  libgomp-11.2.0-h1234567_1

The following packages will be UPDATED:

  ca-certificates    pkgs/main::ca-certificates-2023.08.22~ --> conda-forge::ca-certificates-2023.11.17-hbcca054_0
  certifi            pkgs/main/linux-64::certifi-2023.7.22~ --> conda-forge/noarch::certifi-2023.11.17-pyhd8ed1ab_0
  libgcc-ng          pkgs/main::libgcc-ng-11.2.0-h1234567_1 --> conda-forge::libgcc-ng-13.2.0-h807b86a_3
  libstdcxx-ng       pkgs/main::libstdcxx-ng-11.2.0-h12345~ --> conda-forge::libstdcxx-ng-13.2.0-h7e041cc_3
  openssl              pkgs/main::openssl-3.0.10-h7f8727e_2 --> conda-forge::openssl-3.2.0-hd590300_1

The following packages will be SUPERSEDED by a higher-priority channel:

  _libgcc_mutex           pkgs/main::_libgcc_mutex-0.1-main --> conda-forge::_libgcc_mutex-0.1-conda_forge
  _openmp_mutex          pkgs/main::_openmp_mutex-5.1-1_gnu --> conda-forge::_openmp_mutex-4.5-2_kmp_llvm
  numba              pkgs/main::numba-0.57.1-py311ha02d727~ --> conda-forge::numba-0.57.1-py311h96b013e_0


Proceed ([y]/n)? y


Downloading and Extracting Packages
libstdcxx-ng-13.2.0  | 3.7 MB    | ################################################################################################################# | 100%

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

 

posted @ 2023-12-20 18:23  任国强  阅读(241)  评论(0编辑  收藏  举报