0

If I list the jupyter kernels I get the following

jupyter kernelspec list
Available kernels:
  python3    /Users/myName/Library/Jupyter/kernels/python3
  python2    /usr/local/share/jupyter/kernels/python2

However if I open jupyter and I choose python3 as kernel I get that it is running python2

enter image description here

How can I properly set the kernel to the specific python version? I am working on mac machine and I have installed everything trough pip3

1 Answer 1

1

Jupyter isn't running Python2, the shell is (via the ! cell magic)

If you want the actual version of the interpreter, then

import sys
print(sys.version)

You can also see in the top-right that it clearly says Python 3, and unclear why you doubt that to be true

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

Comments

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.