Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. How to install a specific package?
    1. Users can not and should not install packages in existing python environments such as opence-v1.5.1.
    2. Users need to create their own python environment to install their own packages.
      1. Create a New Env from Existing Environment.
      2. Create Conda Environment from Scratch.

    3. Users should search for all the available packages before installation.
      1. Search Packages in All Default Channels.

      2. Search Packages in a Specific Channel.

      3. Install a Package with a Specific Version and Build Code

  2. How to solve dependency conflict?

...

Code Block
conda search openblas -c conda-forge

Install a

...

Package with a Specific Version and Build Code
Anchor
install_package
install_package

Install a package from the The result of the search

Code Block
(<new_env_name>)[<user_id>@hal-login2 ~]# conda search openblas
...
openblas                      0.3.12      pthreads_hca0ad1f_0  conda-forge         
openblas                      0.3.12      pthreads_hca0ad1f_1  conda-forge         
openblas                      0.3.13      h6ffa863_0           pkgs/main           
openblas                      0.3.13      h6ffa863_1           pkgs/main           
openblas                      0.3.13      openmp_h25a920f_0    conda-forge         
openblas                      0.3.13      pthreads_h92053e5_0  conda-forge
...
(<new_env_name>)[<user_id>@hal-login2 ~]# conda install openblas=0.3.13=openmp_h25a920f_0

...