first of all, sorry for the long wait for a reply. I've recently moved
to a new job, and the dust still hasn't quite settled.
On Tue, 31 Aug 2010 10:57:12 +0200, Bart Vandewoestyne
I'm trying to set my first steps with Hedge on
(Lucid) but I'm running into trouble. I have more then 10 years
experience with Linux and am quite comfortable with
C/C++/Fortran95/Octave, but have no knowledge of Python nor
I am following the instructions on
but once i get to step 9 I get:
bartv@sonic:~/src$ ./repotool start-over
Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2655, in
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 648, in
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 546, in
and this is where I'm stuck. From the comments, my guess is that
this is a problem with my setuptools/distribute installation, but
since I am not familiar (yet) with setuptools/distribute, I
haven't found a way to solve this problem.
This is indeed confusing. It looks like you have a virtualenv script,
but python can't find the corresponding library bits in the
See what you get from
>> import setuptools
If you get anything you don't expect, that might need clearing
away. Funny stuff usually starts to happen if distribute and setuptools
start fighting for who's in control. This is a bad situation, but it
appears that there is consensus that distribute is the way forward (as
indicated by Debian and Ubuntu shipping distribute in the
python-setuptools package), so I hope it's just a matter of time until
this gets resolved.
My first question is actually if I need to follow the
manual instructions on
to replace setuptools with distribute if I'm using Ubuntu 10.04
(Lucid). Doesn't distribute-0.6.8 come with a .deb package?
If your distribution is new enough (and 10.04 is), making sure that you
only have the vanilla python-setuptools and python-virtualenv packages
(and nothing else!) is fine (and works for me on Debian). The tricky
part might be clearing away all the manually installed stuff.
Hope this helps & let me know how you progress,