Python and Conda Virtual Environments

Users can create one-off custom environments for their python or conda work that encapsulates exactly the setup that they want for a given type of work. This allows you to install packages in your own virtual enviroment that you can then load in a later session and use, knowing you have the packages you need.

You can do this with python virtual environments for just python.

You can create virtual environments in conda to also encapsulate other packages. DO NOT run “conda install” to install your virtual environment in your .bashrc. Instead, activate it where the directory lives, which by default is in your home directory, ~/.conda/envs/.