How to check paramiko version installed?

Question:

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?

Asked By: akkidukes

||

Answers:

You can get it via the __version__ attribute.

#First, run python directly from terminal:
python
...
>>> import paramiko
>>> print paramiko.__version__
1.12.0
Answered By: Igor Hatarist
print paramiko.__version__

Output:

'1.10.1'
Answered By: user1907906

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
Answered By: Nik
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.