Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.