how to test python libraries with different python versions code example Example: check package version jupyter python import packagename print(packagename.__version__)