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