Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check paramiko version installed?

I have installed paramiko 1.15.2 on Linux machine. But i want to know its version via command. Is there any command that prints out version of paramiko installed?

like image 783
akkidukes Avatar asked Feb 06 '15 10:02

akkidukes


2 Answers

You can also

pip show paramiko

Output would look like this

pip show paramiko
---
Name: paramiko
Version: 1.15.2
Location: /usr/local/lib/python2.7/dist-packages
Requires: pycrypto, ecdsa
like image 64
Nik Avatar answered Nov 16 '22 01:11

Nik


You can get it via the __version__ attribute:

>>> import paramiko
>>> print paramiko.__version__
1.12.0
like image 39
Igor Hatarist Avatar answered Nov 16 '22 00:11

Igor Hatarist