Versions Compared

Key

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

...

Anaconda is a free and open-source distribution of the Python and R programming languages for scientific computing. The big difference between conda Conda and the pip package manager is in how the package dependencies are managed, which is a significant challenge for Python data science and the reason conda Conda exists.

(see webpage https://www.anaconda.comfor details)

Existing Anaconda Environment

There are currently 6 conda Conda environments supported on HAL system

Environment NameLocationDescription
base/opt/apps/anaconda3default Conda env with basic python packages, python version 3.7.
powerai_env_2/opt/apps/anaconda3/envs/powerai_env_2default Conda env with basic python packages, python version 3.7.
powerai_env_3/opt/apps/anaconda3/envs/powerai_env_3
wmlce-v1.6.1-py2.7/opt/apps/anaconda3/envs/wmlce-v1.6.1-py2.7
wmlce-v1.6.1-py3.6/opt/apps/anaconda3/envs/wmlce-v1.6.1-py3.6
tensorflow-v2.0-beta/opt/apps/anaconda3/envs/tensorflow-v2.0-beta

...

We recommend our users to create a new environment from one of our existing powerai or wmlce enviornment environment.

Code Block
languagebash
titleCreate a New Env from Existing Env
conda create --name=<new_env> --clone=wmlce-v1.6.1-py3.6

The new conda Conda environment will be located within $HOME/.conda/envs/<my_env>, then users can search and/or install python packages via condaConda

Code Block
languagebash
titleExample: Search for a New Package
conda search r-tensorflow

...

Create Anaconda Environment from Scratch

Users can also create a new environment from scratch

Code Block
languagebash
titleCreate a New Env from Existing Env
conda create --name=<new_env_name>

Important Note about Install package with pip

Some packages only support installing with "pip" and we allow users to install the package with "pip" within their own conda environment. However, install with "pip" is not always work since it could have a conflict with the Conda environment.