root@a5s2:~# python Python 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pip >>> installed_packages = pip.get_installed_distributions() >>> installed_packages_list = sorted(["%s==%s" % (i.key, i.version) ... for i in installed_packages]) >>> print(installed_packages_list) ['boto==2.12.0', 'contrail-fabric-utils==0.1.dev0', 'contrailprovisioning==0.1.dev0', 'euca2ools==0.0.0', 'fabric==1.7.5', 'gevent==1.1.0', 'greenlet==0.4.14', 'servermanagercli==4.1.2.0.132'] >>> root@a5s2:~# root@a5s2:~# root@a5s2:~# pip install gevent==1.1 Requirement already satisfied (use --upgrade to upgrade): gevent==1.1 in /usr/local/lib/python2.7/dist-packages Requirement already satisfied (use --upgrade to upgrade): greenlet>=0.4.9 in /usr/local/lib/python2.7/dist-packages (from gevent==1.1) Cleaning up... root@a5s2:~# ls /usr/local/lib/python2.7/dist-packages boto contrail_fabric_utils-0.1dev.egg-info euca2ools fabric gevent-1.1.0.egg-info servermanagercli-4.1.2.0.132.egg-info boto-2.12.0.egg-info contrail_provisioning euca2ools-0.0.0.egg-info Fabric-1.7.5.egg-info greenlet-0.4.14.egg-info smgrcliapp contrail_fabric_utils ContrailProvisioning-0.1dev.egg-info fabfile gevent greenlet.so root@a5s2:~# root@a5s2:~# root@a5s2:~# root@a5s2:~# python Python 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pip >>> installed_packages = pip.get_installed_distributions() >>> installed_packages_list = sorted(["%s==%s" % (i.key, i.version) ... for i in installed_packages]) >>> print(installed_packages_list) ['boto==2.12.0', 'contrail-fabric-utils==0.1.dev0', 'contrailprovisioning==0.1.dev0', 'euca2ools==0.0.0', 'fabric==1.7.5', 'gevent==1.1.0', 'greenlet==0.4.14', 'servermanagercli==4.1.2.0.132']
root@a5s2:~# python installed_ distributions( ) packages_ list = sorted(["%s==%s" % (i.key, i.version) packages] ) _packages_ list) fabric- utils== 0.1.dev0' , 'contrailprovis ioning= =0.1.dev0' , 'euca2ools==0.0.0', 'fabric==1.7.5', 'gevent==1.1.0', 'greenlet==0.4.14', 'servermanagerc li==4.1. 2.0.132' ] lib/python2. 7/dist- packages lib/python2. 7/dist- packages (from gevent==1.1) lib/python2. 7/dist- packages fabric_ utils-0. 1dev.egg- info euca2ools fabric gevent- 1.1.0.egg- info servermanagercl i-4.1.2. 0.132.egg- info 12.0.egg- info contrail_ provisioning euca2ools- 0.0.0.egg- info Fabric- 1.7.5.egg- info greenlet- 0.4.14. egg-info smgrcliapp fabric_ utils ContrailProvisi oning-0. 1dev.egg- info fabfile gevent greenlet.so installed_ distributions( ) packages_ list = sorted(["%s==%s" % (i.key, i.version) packages] ) _packages_ list) fabric- utils== 0.1.dev0' , 'contrailprovis ioning= =0.1.dev0' , 'euca2ools==0.0.0', 'fabric==1.7.5', 'gevent==1.1.0', 'greenlet==0.4.14', 'servermanagerc li==4.1. 2.0.132' ]
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pip
>>> installed_packages = pip.get_
>>> installed_
... for i in installed_
>>> print(installed
['boto==2.12.0', 'contrail-
>>>
root@a5s2:~#
root@a5s2:~#
root@a5s2:~# pip install gevent==1.1
Requirement already satisfied (use --upgrade to upgrade): gevent==1.1 in /usr/local/
Requirement already satisfied (use --upgrade to upgrade): greenlet>=0.4.9 in /usr/local/
Cleaning up...
root@a5s2:~# ls /usr/local/
boto contrail_
boto-2.
contrail_
root@a5s2:~#
root@a5s2:~#
root@a5s2:~#
root@a5s2:~# python
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pip
>>> installed_packages = pip.get_
>>> installed_
... for i in installed_
>>> print(installed
['boto==2.12.0', 'contrail-