Reputation: 75
How to find out the version of teradataml package? It doesn't expose .version attribute.
Upvotes: 1
Views: 257
Reputation: 1
https://pypi.org/project/teradataml/
Try running pip install command
pip install teradataml
Upvotes: 0
Reputation: 4630
In terminal type pip freeze
or pip3 freeze
. It will show all the packages with their versions.
Upvotes: 0
Reputation: 75
Method 1:
On the terminal run -
pip freeze | grep teradataml
Method 2 Using API -
>>> import pkg_resources
>>> pkg_resources.get_distribution("teradataml").version
Upvotes: 1