From: Grant E. <gr...@vi...> - 2007-08-29 13:17:42
|
On 2007-08-29, Werner F. Bruhin <wb...@us...> wrote: > Grant Edwards wrote: >> >> I've just run across this exact same error. Has anybody >> figured out what to do about it? > > Can either of you provide a small standalone script which gives this > error when py2exe it. I fixed that problem by enabling the skip_archive option. In order to maximize incompatibility numpy apparently uses its own loader scheme to load its modules. That loader doesn't know how to deal with zipped libraries. The other persistent problem when using many packages is py2exe's inability to deal with the case where multiple packages have modules with the same name: for example, numpy and Numeric both have a multiarray module. py2exe doesn't do the right thing, and one has to manually copy the multiarray.* files from the python library directories into the proper places in the 'dist' folder. This should be a solvable problem. Since the Python compiler has no trouble finding the right module, there must be disambiguation rules that specify what to do. -- Grant Edwards grante Yow! My vaseline is at RUNNING... visi.com |