How do I determine which Python environment my Jupyter Notebook is using?

Responsive Ad Header

Question

Grade: Education Subject: Support
How do I determine which Python environment my Jupyter Notebook is using?
Asked by:
73 Viewed 73 Answers
Responsive Ad After Question

Answer (73)

Best Answer
(398)
You can check the kernel used by your Jupyter Notebook by looking at the top-right corner of the notebook interface. It will display the kernel name (e.g., 'Python 3'). To confirm the environment, run `import sys; print(sys.executable)` in a code cell. This will print the path to the Python interpreter being used, allowing you to verify it's the correct environment where TensorFlow is installed.