From 1299f09c9e321aece4a7ffaf62ea160ad63d7322 Mon Sep 17 00:00:00 2001 From: Massimo Santini Date: Mon, 30 Jan 2017 11:32:55 +0100 Subject: [PATCH] Added a workaround for Jupyter notebooks Added a link to https://github.com/mapio/jupyter-virtualenv-osx that can solve the issue for Jupyter notebook users. --- doc/faq/osx_framework.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/faq/osx_framework.rst b/doc/faq/osx_framework.rst index c5005dde3f66..95585e79dd5e 100644 --- a/doc/faq/osx_framework.rst +++ b/doc/faq/osx_framework.rst @@ -100,6 +100,15 @@ framework build within the virtualenv. To run a script you can do framework build. To run an interactive ``IPython`` session with the framework build within the virtual environment you can do ``frameworkpython -m IPython`` +``PYTHONHOME`` and Jupyter +^^^^^^^^^^^^^^^^^^^^^^^^^^ + +This approach can be followed even if using `Jupyter `_ +notebooks: you just need to setup a kernel with the suitable ``PYTHONHOME`` +definition. The `jupyter-virtualenv-osx `_ +script automates the creation of such a kernel. + + ``PYTHONHOME`` Script ^^^^^^^^^^^^^^^^^^^^^