Anaconda
Note
Work in progress
Anaconda is a very popular tool and used by researchers and students.
The complete guide can be found here:
https://conda.io/projects/conda/en/latest/user-guide/index.html
Linux installs
This software does not require root priveleges to install.
Warning
Do not install this software in your home directory. The base installation is large and could exceed your home space quotas. Please read over the Storage Policy.
Basic install guide:
(pts10)[/workspace/pebkac]
pebkac@suzerain $ chmod +x Anaconda3-2022.05-Linux-x86_64.sh
(pts10)[/workspace/pebkac]
pebkac@suzerain $ ./Anaconda3-2022.05-Linux-x86_64.sh
Welcome to Anaconda3 2022.05
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
Accept the terms and conditions to continue
Important to note the location where to install this:
Anaconda3 will now be installed into this location:
/oden/pebkac/anaconda3 <-- Change this location
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/oden/pebkac/anaconda3] >>> /workspace/anaconda3-2022.05 <-- /workspace
PREFIX=/workspace/anaconda3-2022.05
Unpacking payload ...
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /workspace/anaconda3-2022.05
added / updated specs:
- _ipyw_jlab_nb_ext_conf==0.1.0=py39h06a4308_1
- _libgcc_mutex==0.1=main
.
.
.
Loads of packages will be installed, when if finishes, you will presented with some information and prompted to initialize anaconda:
.
.
.
Preparing transaction: done
Executing transaction: -
Installed package of scikit-learn can be accelerated using scikit-learn-intelex.
More details are available here: https://intel.github.io/scikit-learn-intelex
For example:
$ conda install scikit-learn-intelex
$ python -m sklearnex my_application.py
done
installation finished.
Do you wish the installer to initialize Anaconda3
by running conda init? [yes|no]
[no] >>> no
You have chosen to not have conda modify your shell scripts at all.
To activate conda's base environment in your current shell session:
eval "$(/workspace/anaconda3-2022.05/bin/conda shell.YOUR_SHELL_NAME hook)"
To install conda's shell functions for easier access, first activate, then:
conda init
If you'd prefer that conda's base environment not be activated on startup,
set the auto_activate_base parameter to false:
conda config --set auto_activate_base false
Thank you for installing Anaconda3!
===========================================================================
Working with Python and Jupyter is a breeze in DataSpell. It is an IDE
designed for exploratory data analysis and ML. Get better data insights
with DataSpell.
DataSpell for Anaconda is available at: https://www.anaconda.com/dataspell
macOS installs
Warning
For Mac users, install Anaconda environments in your home directories. Read below for more information on why.
We’re seeing vulnerability issues with some packages in Anaconda3 and Miniconda3 environments that are installed using the graphical installer on macOS. The graphical installer by default installs the conda packages in the system directory /opt. This can be an issue when some conda packages have known vulnerabilities. Packages such as curl , openssl, and mysql to name a few, are frequently identified as vulnerable. Keeping these packages up to date or removing them is ideal but this is not always happening.
We’re asking macOS users to stop using the graphical installers and instead use the CLI installer to install the Anaconda environment in their home directory. If you want to continue to use Anaconda3, please follow their instructions for downloading and installing the environment in your home directory using the command line.
https://www.anaconda.com/docs/getting-started/miniconda/install/mac-cli-install
The instructions for the graphical installer show it should have an option to install in an alternate location other than in /opt. This is not always the case and some testing has found the installer doesn’t present an alternate location. Users find it easier to use the graphical installers and if choosing to install with this method and it doesn’t prompt for an alternate location for you, we have no course but to remove or uninstall any conda environments under /opt. You have been warned.
We apologize for the inconvenience and appreciate you keeping our systems secure and up to date with the latest packages and software.