maptastik
6/3/2017 - 3:54 AM

Setting up and using a new Jupyter environment with Anaconda

Setting up and using a new Jupyter environment with Anaconda

Setting up and using a new Jupyter environment with Anaconda

First and foremost, you need to have Anaconda installed.

Create a new environment

conda create --name <name_of_env> jupyter

Append jupyter to the end of your command. Many packages are installed automatically, but you can specify some that aren't. Jupyter is not part of the automatic install list. There is a way to create your own install list, but let's forget that for now.

Furthermore, you can specify the version of Python (python=<version of python>)

Activate the new environment

source activate <name_of_env>

You can check what packages you have in your environment by running:

conda list

I think then you can start installing other packages. There was a warning that this could lead to conflicts, but at least it's in an environment that can be tossed if things go south!