user12000761
user12000761

Reputation: 75

How to find the version of teradataml package?

How to find out the version of teradataml package? It doesn't expose .version attribute.

Upvotes: 1

Views: 257

Answers (3)

Karthik
Karthik

Reputation: 1

https://pypi.org/project/teradataml/

Try running pip install command

pip install teradataml

Upvotes: 0

Dipen Dadhaniya
Dipen Dadhaniya

Reputation: 4630

In terminal type pip freeze or pip3 freeze. It will show all the packages with their versions.

Upvotes: 0

user12000761
user12000761

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

Related Questions