How to check paramiko version?

I installed paramiko 1.15.2 on a Linux machine. But I want to know its version using the command. Is there any command that prints the version of paramiko installed?

+8
python paramiko
source share
3 answers

You can get it using the __version__ attribute:

 >>> import paramiko >>> print paramiko.__version__ 1.12.0 
+8
source share
 print paramiko.__version__ 

Output:

 '1.10.1' 
+2
source share

you also can

 pip show paramiko 

The result will look like this:

 pip show paramiko --- Name: paramiko Version: 1.15.2 Location: /usr/local/lib/python2.7/dist-packages Requires: pycrypto, ecdsa 
+2
source share

All Articles