[Openstack] Pip Error In Swift Installation (Swift All in One tutorial for a single node)

Christian Schwede christian.schwede at enovance.com
Fri Mar 28 09:43:07 UTC 2014


I think you hit the bug reported in
https://bugs.launchpad.net/swift/+bug/1217288

A suggested workaround is to do a

sudo pip install -r requirements.txt

right before you run "python setup.py".

Which distribution and release are you using?



Am 28.03.14 09:56, schrieb Ashish Dobhal:
> Hello sir;
> After making the sudo pip install --upgrade I got the following error.
> 
> File "*/usr/lib/python2.7/distutils/cmd.py", line 59, in __init__
>     raise TypeError, "dist must be a Distribution instance"
> TypeError: dist must be a Distribution instance*.
> 
> in the following step 
> *sudo python setup.py develop*
> 
> 
> Note:I did the pip update before my swift installation.Should I do the
> update just before the *sudo pip install -r
> swift/test-requirements.txt*_  command.*
> **
> 
> 
> On Wed, Mar 26, 2014 at 12:22 PM, Ashish Dobhal
> <dobhalashish772 at gmail.com <mailto:dobhalashish772 at gmail.com>> wrote:
> 
>     Thanks Sir,
>     i also want to know when to make the update.Before the swift
>     installation or before  running sudo pip install -r
>     swift/test-requirements.txt*_  command.
> 
> 
>     On Wed, Mar 26, 2014 at 12:47 PM, Christian Schwede
>     <christian.schwede at enovance.com
>     <mailto:christian.schwede at enovance.com>> wrote:
> 
>         Hello,
> 
>         looks like your pip version is to old. Try updating it with:
> 
>         sudo pip install -U pip
> 
>         This worked for me in the past.
> 
>         Christian
> 
>         Am 25.03.14 19:33, schrieb Ashish Dobhal:
>         > Dear Sir/Maam;
>         > I am following the swift all in one tutorial.
>         > I got he following error while running
>         > _*sudo pip install -r swift/test-requirements.txt*_  cmd_*
>         >
>         > *_
>         > _*ERROR
>         >
>         > *_
>         > *pkg_resources.VersionConflict: (pip 1.0
>         > (/usr/lib/python2.7/dist-packages), Requirement.parse('pip>=1.4'))
>         >
>         > ----------------------------------------
>         > Command python setup.py egg_info failed with error code 1
>         > Storing complete log in /home/yashika/.pip/pip.log*
>         > Please Reply.
>         > Thank You.
>         >
>         >
>         > _______________________________________________
>         > Mailing list:
>         http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>         > Post to     : openstack at lists.openstack.org
>         <mailto:openstack at lists.openstack.org>
>         > Unsubscribe :
>         http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>         >
> 
> 
> 





More information about the Openstack mailing list