jupyter python check version code example
Example 1: get python version jupyter
from platform import python_version
print(python_version())
Example 2: check package version jupyter python
import packagename
print(packagename.__version__)
from platform import python_version
print(python_version())
import packagename
print(packagename.__version__)