
Hi Chris, It looks like something is trying to install Setuptools 0.7.2, possibly with a temporary version of distribute or one that's not visible by default in your Python environment. When you get that error message, I suggest you upgrade away from distribute. The easiest way to do this if you have distribute installed is to 'easy_install -U distribute', which will grab distribute 0.7.3 and install setuptools>=0.7. If this doesn't work (as it may not if you in fact don't have Distribute), you may be able to pro-actively avoid the problem by installing the latest Setuptools (0.9 at the time of this writing) using the published installation instructions: https://pypi.python.org/pypi/setuptools/0.9 I hope that helps. Please report back if that doesn't get you going. Regards, Jason
-----Original Message----- From: Distutils-SIG [mailto:distutils-sig- bounces+jaraco=jaraco.com@python.org] On Behalf Of Chris Withers Sent: Sunday, 07 July, 2013 03:09 To: distutils sig Subject: [Distutils] buildout/setuptools/distribute unhelpful error message (0.7.x issue?)
Hi All,
What is this exception trying to tell me?
Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools- 0.7.2.tar.gz Extracting in /tmp/tmpJNVsOY Now working in /tmp/tmpJNVsOY/setuptools-0.7.2 Building a Setuptools egg in /tmp/tmpBLZGeg /tmp/tmpBLZGeg/setuptools-0.7.2-py2.6.egg Traceback (most recent call last): File "bootstrap.py", line 91, in <module> pkg_resources.working_set.add_entry(path) File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 451, in add_entry self.add(dist, entry, False) File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 542, in add self._added_new(dist) File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 705, in _added_new callback(dist) File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2727, in <lambda> add_activation_listener(lambda dist: dist.activate()) File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2227, in activate self.insert_on(path) File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2328, in insert_on "with distribute. Found one at %s" % str(self.location)) ValueError: A 0.7-series setuptools cannot be installed with distribute. Found one at /tmp/tmpBLZGeg/setuptools-0.7.2-py2.6.egg
I don't see any distribute in there, and I don't know where it might be...
$ python2.6 Python 2.6.8 (unknown, Jan 29 2013, 10:05:44) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import setuptools Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named setuptools
cheers,
Chris
-- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig