[Distutils] Distribute 0.6.17
Tarek Ziadé
ziade.tarek at gmail.com
Tue May 31 12:36:38 CEST 2011
On Tue, May 31, 2011 at 12:29 PM, Maurits van Rees
<m.van.rees at zestsoftware.nl> wrote:
> Op 31-05-11 12:04, Tarek Ziadé schreef:
>>
>> On Tue, May 31, 2011 at 11:50 AM, Maurits van Rees
>> <m.van.rees at zestsoftware.nl> wrote:
>> ....
>>>
>>> ImportError: cannot import name utils
>>>
>>> When I go in with a pdb in this utils.py everything seems fine but then
>>> the
>>> import error just happens a bit further on, failing to import
>>> plone.app.layout. On Plone 4 an import of Shared.DC.ZRDB.Search fails.
>>> Again, with distribute 0.6.16 it works fine.
>>>
>>> This is on Mac OS X. Possibly I have strange ways of installing python,
>>> but
>>> it has worked fine so far. Can anyone else reproduce this?
>>
>> Could you dump and compare sys.path in both cases ? thanks
>
> The only difference in both bin/buildout and bin/instance is the distribute
> version. I will paste the scripts with 0.6.17 below for good measure (Plone
> 4 buildout in this case).
I was talking about the value of sys,path right before the import that
fails to check if there's any difference besides the distribute
version.
The scripts you are showing are inserting entries in the beginning of sys.path
Cheers
Tarek
--
Tarek Ziadé | http://ziade.org
More information about the Distutils-SIG
mailing list