stankevich/python Module to upgrade pip

asked 2018-10-04 10:56:31 -0500

The default version of pip is 1.1.I want to upgrade the version of pip to 8.1.1.I don't see any option to do that in the module.I tried to `

           include python  
            python::pip { 'pip':
            path => ['/usr/bin'],
            ensure => '8.1.1',
            install_args => 'index-url=https://pypi.python.org/simple/',
            }

` But I get the following error :

Pip command not found

if I try to install any package

 python::pip { 'kafka-python':
 }
edit retag flag offensive close merge delete