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.

      1. Lists of Existing Anaconda Environments

    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.

    4. Users could install a specific python package to avoid conflict or add functionality.

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

  2. How to solve dependency conflict?

    1. The conda

      have

      has the capability to solve some dependency

      conflict

      conflicts, but it cost time and is not

      guarantee

      guaranteed to work.

    2. User

      Users could create a python environment from scratch, then

      1. Install the package which caused the conflict first.

      2. Install other packages according to the conflicting package requirement.

  3. How to use Customized Python Environment in HAL-OnDemand?

    1. Users need to install conda install ipykernel in order to select and/or switch their own conda environment in HAL-OnDemand.

Lists of Existing Anaconda Environments 
Anchor
list_envs
list_envs

...

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
    

...