[Distutils] buildout/setuptools/distribute unhelpful error message (0.7.x issue?)
Chris Withers
chris at simplistix.co.uk
Sun Jul 7 09:08:37 CEST 2013
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
More information about the Distutils-SIG
mailing list