0

I have Jupyter Notebook installed and working. However it only has python 2 kernel.

notebook kernel

I tried reinstalling Anaconda with Python 3.6 version of python, which worked fine (apart from deleting all my environments, etc.), but no change in relation to the kernels available for Jupyter.

I have tried installing jupyter using pip (the solution to this question), but I get the error message Requirement already satisfied: jupyter in c:\users\username\anaconda2\lib\site-packages

Any ideas?

1

1 Answer 1

2

Are you using pip3 install jupyter?

a more robust solution would be to isolate your environments with something like pipenv.

pip install pipenv

pipenv install --three

this will install a virtual environment with python3

install packages

pipenv install jupyter

activate the env

pipenv shell

start the notebook

jupyter notebook

You should be able to see the python3 option now.

Sign up to request clarification or add additional context in comments.

1 Comment

Pip3 wasn't my first choice for a solution to this, but it has been the only successful approach that I've found to add a python 3 kernel to jupyter notebook

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.