pip | pip3 |
---|---|
Ubuntu : sudo apt update -y sudo apt install python3-pip ( ex: for confluence API script pip3 install PythonConfluenceAPI pip3 install future ) | |
Contos 7:
| |
Findout which one is the latest python ( 2.7 or 3.5 )
https://www.python.org/downloads/
If 2.7.25 >>> https://www.python.org/ftp/python/2.7.15/ ( Python-2.7.15.tar.xz )
Latest python on Centos 7: https://tecadmin.net/install-python-2-7-on-centos-rhel/
https://danieleriksson.net/2017/02/08/how-to-install-latest-python-on-centos/
On Centos 7:
sudo yum -y install python
sudo pip install --upgrade pip
-pip
pip check
pip install --upgrade setuptools #sometime need to be updated!!!
or
Juniper: junos-eznc
sudo -H pip install git+https://github.com/Juniper/py-junos-eznc.git