Skip to content

Instantly share code, notes, and snippets.

@norbertparti
Last active May 23, 2018 12:00
Show Gist options
  • Save norbertparti/944a204ef4844ce61ad80e0aa121450b to your computer and use it in GitHub Desktop.
Save norbertparti/944a204ef4844ce61ad80e0aa121450b to your computer and use it in GitHub Desktop.
Install virtalenv, activate, and add as Jupyter kernel
#install virtualenv
pip install virtualenv
cd my_project_folder
#create virtualenv
virtualenv -p /usr/bin/python3 virtualenv_name
#activate virtualenv
source my_project/bin/activate
#install jupyter and add environment as kernel
pip inytall jupyter
ipython kernel install --user --name=virtualenv_name #virtualenv_name is the name of your enviroment that you want to use as a kernel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment