Module installation

Open Windows cmd or Linux shell and execute the following command to download the latest paramiko module from PyPI. It will download additional dependency packages such as cyrptography, ipaddress, and six and install them on your machine:

pip install paramiko

You can verify that the installation is done successfully by entering the Python shell and importing the paramiko module as shown in the following screenshot. Python should import it successfully without printing any errors:

Get Hands-On Enterprise Automation with Python. now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.