Reputation:
So I created a python 2.7 env "gdsenv" using anaconda:
Then I installed the jupyter kernel:
...so far it seems good.
The problem is that if I open jupyter-notebook, I don't get python 2.7 option (I have python 3.5 installed on another env):
Why is that and how can I fix that ?
Upvotes: 0
Views: 403
Reputation: 99
See if you can install an ipython kernel for python2.
I don't have anaconda installed, but here's how it works for a virtual environment created with python2 -m virtualenv jupyter-test
:
python2 -m pip install jupyter
python2 -m pip install ipykernel
python2 -m ipykernel install --user
jupyter notebook
][1]][1]You should now be able to create a python2 kernel:
See also this question which seems related: Using both Python 2.x and Python 3.x in IPython Notebook .
Upvotes: 1