Skip to content

Instantly share code, notes, and snippets.

@maptastik
Last active June 3, 2017 04:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maptastik/e54781b67931f9e15e8dcbcefd9310f8 to your computer and use it in GitHub Desktop.
Save maptastik/e54781b67931f9e15e8dcbcefd9310f8 to your computer and use it in GitHub Desktop.
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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment