Last active
May 23, 2018 12:00
-
-
Save norbertparti/944a204ef4844ce61ad80e0aa121450b to your computer and use it in GitHub Desktop.
Install virtalenv, activate, and add as Jupyter kernel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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