Monday, November 7, 2016

Installing Python modules using pip

pip is a package management system used to install and manage software packages written in Python. Many packages can be found in the Python Package Index (PyPI). Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip (pip3 forPython 3) by default.

Install steps: https://pip.pypa.io/en/stable/installing/

Wget https://bootstrap.pypa.io/get-pip.py

Then run the following:

python get-pip.py

Install paramiko using pip


For reference, paramiko which we install has a hard dependency on cryptography which states:
For Debian and Ubuntu, the following command will ensure that the required dependencies are installed:
$ sudo apt-get install build-essential libssl-dev libffi-dev python-dev
For Fedora and RHEL-derivatives, the following command will ensure that the required dependencies are installed:
$ sudo yum install gcc libffi-devel python-devel openssl-devel
#pip install paramiko


No comments:

Post a Comment