py2exe, pyparallel
garyr at fidalgo.net
garyr at fidalgo.net
Sun Nov 13 13:03:52 EST 2005
I'm using py2exe to create a standalone program that uses pyparallel.
When I run the created program an error occurs and a message directs me
to
the log file which contains:
Traceback (most recent call last):
File "fg.py", line 30, in ?
import dds2
File "dds2.pyc", line 24, in ?
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR
File "parallel\__init__.pyc", line 13, in ?
File "parallel\parallelwin32.pyc", line 59, in ?
File "ctypes\__init__.pyc", line 407, in __getattr__
File "ctypes\__init__.pyc", line 319, in __init__
WindowsError: [Errno 1157] One of the library files needed to run this
application cannot be found
My setup.py is:
from distutils.core import setup
import py2exe
setup(windows = ["fg.py"])
Line 59 in parallelwin32.py is: _pyparallel = ctypes.windll.simpleio.
I'm using PythonWin 2.3.2 on Win98SE. I have ctypes 0.9.6, py2exe 0.6.3
and pyparallel 0.2 installed.
I posted a similar message to the py2exe mailing list but apparently
that list is inactive. Any suggestions appreciated.
Thanks,
Gary Richardson
More information about the Python-list
mailing list