If you want to know which specific version of Python you are using with your Jupyter Notebook, well you can write in a small code snippet one of the cells to quickly find out.
import sys
print(sys.version)
As you can see I am using Python 3 version 3.11.3
Another quick way is by running the shell command in a cell.
!python3 --version
You can even get the location where Python is installed using the which command.
which python3
You can download this article in various formats for your convenience. Choose from the options below:
Facing issues? Have Questions? Post them here! I am happy to answer!
- Python List of Lists with Examples
- Fix: ERROR: Could not find a version that satisfies the requirement tkinter (from versions: none) ERROR: No matching distribution found for tkinter
- How to Convert Python Notebook .ipynb (JSON) to Executable .py Module
- ModuleNotFoundError: No module named qdarkstyle.colorsystem [Python]
- Python: Pandas Merge Indicator (Left, Right and Both) Example
- Fix: EOFError Exception in Python
- How to URL Decode a Query String in Python
- How to take user input from the console in a Python program
- Compare two lists in Python and return matches
- How to change the Python Default version
- Fix: KeyError: exception in Python
- How to get the Execution Time of A Python Program
- Fix: ModuleNotFoundError: No module named boto3 [Python]
- How to get unique values from a list in Python
- How to pip install Python Modules in VSCode
- Python: Fix - TypeError: NoneType object is not iterable
- How to delete a file using Python code example
- How to create a dictionary comprehension in Python
- Python: Get just the filename without extension using Path
- How to comment out a block of code in Python
- How to add two float numbers in Python
- Python: How to POST Json Data with HTTP Request
- Get MD5 Hash as Checksum of a String in Python
- Python - Convert float to String
- How to Parse XML String in Python
- Turn on Inverted Mouse Scrolling on Windows 11 on UTM on M1/M2 Mac - Windows-11
- Fix: Maven - Failed to execute goal - Compilation failure - Source/Target option 5 is no longer supported. Use 7 or later - Java
- List of All 35 Reserved Keywords in Python Programming Language 3.11 - Python
- How to remove/delete a directory in Linux/macOs - Linux
- Microsoft 365: How to Turn Off Delve in SharePoint Online for All Users - SharePoint
- Is Roblox available on the Mac App Store? - MacOS
- How to Know the Build Version Details of Microsoft Office 365 Applications - Microsoft
- [Mac] Localhost at port 80 says It Works! - MacOS