[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openstack] [diskimage-builder] Element pip-and-virtualenv failed to install pip

On 09/07/2018 03:46 PM, Hang Yang wrote:
> Hi there,
> I'm new to the DIB tool and ran into an issue when used 2.16.0 DIB tool 
> to build a CentOS based image with pip-and-virtualenv element. It failed 
> at 
> due to cannot find pip command.
> I found the /tmp/ was there but totally empty. I have to 
> manually add a wget step to retreat the right before the 
> failed step then it worked. But should the be downloaded 
> automatically by this 
> ? Does anyone know how could this issue happen? Thanks in advance for 
> any help.

Hi Hang,

Are you using a package or a source-based installation for your dib? The 
reason I ask is because from the docs it seems that the installation 
procedure for pip is quite different depending on whether you're using a 
package or source-based install.