how to tell what lib python is using code example Example: check package version jupyter python import packagename print(packagename.__version__)