From: Jimmy R. <ji...@re...> - 2005-11-14 15:32:48
|
Gary Richardson wrote: > I'm trying to create a standalone program that uses Tkinter and > pyparallel. > When I run the created program an error occurs and a message directs me to > the log file which contains: >=20 > Traceback (most recent call last): > File "fg.py", line 30, in ? > File "dds2.pyc", line 24, in ? > File "parallel\__init__.pyc", line 13, in ? > File "parallel\parallelwin32.pyc", line 59, in ? > File "ctypes\__init__.pyc", line 273, in __getattr__ > File "ctypes\__init__.pyc", line 222, in __init__ > WindowsError: [Errno 1157] One of the library files needed to run this > application cannot be found >=20 > My setup.py: > from distutils.core import setup > import py2exe > setup( > version =3D "1.0", > description =3D "Control program for AA7VM function generator.", > name =3D "fg", > windows =3D ["fg.py"], > ) >=20 > I'm using PythonWin 2.3.2 on Win98SE >=20 > What is missing? I would guess that pyparallel is using ctypes to load a dll on line 59 of parallelwin32.py. Take a look at that line and see if the name of a dll is specified there. If so, try explicitly including it. Jimmy |