> I was trying to convert a Python script using a specific pyd file into
> an exe. It works fine as long the bundle level is 3 and the pyd file
> copied into the dist folder. However, when using -b 2 the exe fails
> Traceback (most recent call last):
> File "Psycollider.py", line 62, in ?
> File "zipextimporter.pyo", line 91, in load_module
> ImportError: MemoryLoadLibrary failed loading PySCLang.pyd
> I even tried to specifically tell py2exe to include this module, but
> without success...
> any hints are highly appreciated
> I am working on Windows XP, Python 2.3.5, py2exe 0.6.3 and this is my
> from distutils.core import setup
> import py2exe
> version =3D "0.1",
> description =3D "Psycollider, the SuperCollider3 Lang
> on Windows",
> name =3D "Psycollider",
> # targets to build
> console =3D ["Psycollider.py"],
I downloaded SuperCollider 3 and ran your setup script on it (using
Python 2.3.5, wxPython 220.127.116.11, and py2exe 0.6.3 on XP) and it worked
fine using 1, 2, and 3 for -b. Have you made any modifications to SC3 or
are you just building the same one I'm able to download from SourceForge
("latest binary snapshot" from 10/22/2004)?
I'm not familiar with SC3, but the resulting single file executable
started up and showed its windows just as the py script did with log
messages scrolling by.
There is one piece of advice I hate giving, but it sometimes helps...
move your build and dist folders out to another directory and try
building again to see if that helps. If it does, could you please email
me privately to see how you might get a copy of the failing build/dist
folders and the succeeding ones to me? I'm looking for this kind of case
to see if I can't see what's causing it.