# Packages in Python

### Installing Packages

In order to install packages in Python, the process can be done within a few commands from within the terminal:

```bash
# Load anaconda
[abc123 ~] module load anaconda3/<ver>
# Create a conda environment
[abc123 ~] conda create -n myenv
# Activate the conda environment created
[abc123 ~] conda activate myenv
# Once you have activated your environment you will be able to install your packages locally to this environment
(myenv)[abc123 ~] conda install package
```

> [!NOTE]
>
> The next time that you want to use the package, you will need use the command `conda activate myenv`. This will load the environment where you installed the package.

For more information on As always, please don't hesitate to [contact us](<mailto:hpcsupport@nau.edu>) if you need further assistance with Python package installation.
