Skip to content

Instantly share code, notes, and snippets.

@vukk
Last active December 2, 2015 20:59
Show Gist options
  • Save vukk/cf60d92fbb7f9b73708a to your computer and use it in GitHub Desktop.
Save vukk/cf60d92fbb7f9b73708a to your computer and use it in GitHub Desktop.
Working with conda.

http://conda.pydata.org/docs/install/quick.html#os-x-miniconda-install so on mac download and bash Miniconda-latest-MacOSX-x86_64.sh

cd ~/bin # or other place that is in $PATH
ln -s ~/miniconda3/bin/conda conda
conda install pip
~/miniconda3/bin/pip install conda-workon
conda create -n python3 python=3
conda workon python3
# etc. e.g.
conda install jupyter

Now always to launch jupyter or use python, you need to choose the environment and launch a subshell (virtualenv kinda)

conda workon <env>
jypyter notebook

One idea would be to have a separate environment for jupyter

conda create -n jupyter python=3
conda workon jupyter
jypyter notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment