Skip to content

Instantly share code, notes, and snippets.

@shawngraham
Created May 4, 2018 16:10
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 shawngraham/9579c6bd61014788bfc6adbc0721263e to your computer and use it in GitHub Desktop.
Save shawngraham/9579c6bd61014788bfc6adbc0721263e to your computer and use it in GitHub Desktop.
running jupyter in virtualenv

I want to run all of this http://douglasduhaime.com/posts/identifying-similar-images-with-tensorflow.html in a python notebook. I've got python 3.6

Need to create a virtual environment and run juypter inside of it. this helped: http://anbasile.github.io/programming/2017/06/25/jupyter-venv/

create virtual env

$ virtualenv duhaime

activate it

$ source duhaime/bin/activate

get kernel

$ pip install ipykernel

make it available

ipython kernel install --user --name=duhaime

start up jupyter notebook, select duhaime.

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