PMXBOT Log file Viewer

Help | Karma | Search:

#buildout logs for Monday the 22nd of July, 2013

(Back to #buildout overview) (Back to channel listing) (Animate logs)
[15:55:50] <rioch> I just downloaded the buildout bootstrap.py. When I run it, it tries to download setup tools and fails because "pkg_resources.VersionConflict: (setuptools 0.6c11 (/tmp/tmpgw1sKf/setuptools-0.6c11-py2.7.egg), Requirement.parse('setuptools>=0.7'))"
[15:55:59] <rioch> Any idea how I can fix this?
[16:11:38] <mgedmin> yes
[16:11:53] <mgedmin> you need to have setuptools >= 0.7 in the python that you use to run bootstrap
[16:12:04] <mgedmin> what I always do (and recommend) is that you create a new virtualenv
[16:12:20] <mgedmin> e.g. virtualenv env && env/bin/pip install -U setuptools && env/bin/python bootstrap.py
[16:12:52] <rioch> Doesn't boostrap.py download setuptools for you?
[16:13:30] <rioch> I think it does. The first line after running it is: "Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg"
[16:13:36] <rioch> Which is clearly the wrong version.
[16:19:58] <rioch> mgedmin: what do you think?>
[16:23:40] <mgedmin> as long as it works in the end...
[16:24:16] <mgedmin> IIRC bootstrap downloads some (hardcoded) version of setuptools, and then bin/buildout upgrades it back to the latest one
[16:24:44] <mgedmin> but bootstrap also requires distribute, the latest version of which which requires setuptools >= 0.7, so you get that original error first
[17:27:12] <J1m_> mgedmin, the newest bootstrap doesn't require distribute.