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?
Answers:
You can get it via the __version__
attribute.
#First, run python directly from terminal:
python
...
>>> import paramiko
>>> print paramiko.__version__
1.12.0
print paramiko.__version__
Output:
'1.10.1'
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
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?
You can get it via the __version__
attribute.
#First, run python directly from terminal:
python
...
>>> import paramiko
>>> print paramiko.__version__
1.12.0
print paramiko.__version__
Output:
'1.10.1'
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