Path Module and Py2exe
Thomas Heller
theller at python.net
Wed Mar 24 03:44:10 EST 2004
michael at foord.net (Fuzzyman) writes:
> Has anyone succesfully used py2exe with the (excellent) path module by
> Jason Orendorff ?
>
> I use it regularly but tried to 'bundle' one of my applications that
> used it with py2exe last night. It failed with a 'maximum recursion
> depth' error in module finder - the full error report is below. It's
> obviously got some kind of 'cylical' error in the module importing
> code - which it isn't catching. I finally managed to isolate path as
> the source of the problem.
>
> A simple script that imports path and just prints path.getcwd() fails
> with the same error when I try to 'compile' it (I know, I know..)
> using py2exe.
>
> Unfortunately - if unresolvable - this will stop me using the module.
>
> I wondered if anyone had seen this before, or had any suggestions as
> to how to overcome this ?
That's a yet unresolved bug in modulefinder:
http://www.python.org/sf/876278
Possible workarounds are listed here:
http://starship.python.net/crew/theller/moin.cgi/PathModul
Thomas
More information about the Python-list
mailing list