By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,986 Members | 1,583 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,986 IT Pros & Developers. It's quick & easy.

Problem with PY2EXE and VPython

P: n/a
bap
When I try to run a program on a clean machine using the VPython extensions
after compiling with PY2EXE I get the following error message: "The
procedure entry point IsWow64Process could not be located in the dynamic
link library KERNEL32.dll" . The compiled version runs fine on the original
machine (win NT OS) but gives this error message on a machine without
VPython installed (Win 2K OS). Is this anything that can be fixed with
appropriate parameters in PY2EXE or does it require that VPython be tweaked?
Any help appriciated.

Bruce Peterson
Jul 18 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
On Mon, 26 Apr 2004 23:29:28 GMT, "bap" <no*****@terastat.com> wrote:
When I try to run a program on a clean machine using the VPython extensions
after compiling with PY2EXE I get the following error message: "The
procedure entry point IsWow64Process could not be located in the dynamic
link library KERNEL32.dll" . The compiled version runs fine on the original
machine (win NT OS) but gives this error message on a machine without
VPython installed (Win 2K OS). Is this anything that can be fixed with
appropriate parameters in PY2EXE or does it require that VPython be tweaked?
Any help appriciated.


At:

http://www.dstoys.com/content/educat...ts/Interactive

I have the VPython Tower of Hanoi demo as a Windows executable.

It is an older version of VPython and of Python.

I would be curious to know if there are problems running this on your
machine without VPython installed.

If it runs OK, we can see from there what I might have done
differently from you in building the executable.

Art
Jul 18 '05 #2

P: n/a
"bap" <no*****@terastat.com> writes:
When I try to run a program on a clean machine using the VPython extensions
after compiling with PY2EXE I get the following error message: "The
procedure entry point IsWow64Process could not be located in the dynamic
link library KERNEL32.dll" . The compiled version runs fine on the original
machine (win NT OS) but gives this error message on a machine without
VPython installed (Win 2K OS). Is this anything that can be fixed with
appropriate parameters in PY2EXE or does it require that VPython be tweaked?


This error looks like that py2exe is picking up some 'system dlls' into
the dist directory, which are (sometimes) system specific.

If you post the list of files that are in the dist directory, it might
be possible to name them.

Earlier versions of py2exe had a builtin list of dlls which should be
ignored, this list will again be in the next version.

Thomas
Jul 18 '05 #3

P: n/a
bap
Thanks
The following files are in the distribution directory created by PY2EXE
cvisual.dll
datetime.pyd
DDRAW.dll
dirlist.txt
GLU32.dll
hanoi.exe
library.zip
multiarray.pyd
OPENGL32.dll
python23.dll
umath.pyd
w9xpopen.exe
_numpy.pyd
_sre.pyd

None appear to be extraneous system files.

Bruce
"Thomas Heller" <th*****@python.net> wrote in message
news:ma*************************************@pytho n.org...
"bap" <no*****@terastat.com> writes:
When I try to run a program on a clean machine using the VPython extensions after compiling with PY2EXE I get the following error message: "The
procedure entry point IsWow64Process could not be located in the dynamic
link library KERNEL32.dll" . The compiled version runs fine on the original machine (win NT OS) but gives this error message on a machine without
VPython installed (Win 2K OS). Is this anything that can be fixed with
appropriate parameters in PY2EXE or does it require that VPython be
tweaked?
This error looks like that py2exe is picking up some 'system dlls' into
the dist directory, which are (sometimes) system specific.

If you post the list of files that are in the dist directory, it might
be possible to name them.

Earlier versions of py2exe had a builtin list of dlls which should be
ignored, this list will again be in the next version.

Thomas

Jul 18 '05 #4

P: n/a
bap
Art
Thanks for the pointer-- I did download and install your example. I did
two tests. One is on a perfectly clean machine (a win2k system on
Virtual_PC -- only operating system is on system, no Office or any Python
distributions). The second machine is a Win2k system that has VB, Office,
Python (but not Vpython) and much else. On the clean machine -- I get an
error message about MSVCP60.DLL not being found. On the second machine it
works. Both systems give me the WOW64Process error when TOH is compiled
using the latest (0.5) PY2EXE, Python 2.3.2, and VPython 2003-10-05.
BTW the new PY2EXE appears to be quite a bit simpler to use than the old.
Bruce
ba******@terastat.com

"Arthur" <aj******@optonline.com> wrote in message
news:7m********************************@4ax.com...
On Mon, 26 Apr 2004 23:29:28 GMT, "bap" <no*****@terastat.com> wrote:
When I try to run a program on a clean machine using the VPython extensionsafter compiling with PY2EXE I get the following error message: "The
procedure entry point IsWow64Process could not be located in the dynamic
link library KERNEL32.dll" . The compiled version runs fine on the originalmachine (win NT OS) but gives this error message on a machine without
VPython installed (Win 2K OS). Is this anything that can be fixed with
appropriate parameters in PY2EXE or does it require that VPython be tweaked?Any help appriciated.
At:

http://www.dstoys.com/content/educat...ts/Interactive
I have the VPython Tower of Hanoi demo as a Windows executable.

It is an older version of VPython and of Python.

I would be curious to know if there are problems running this on your
machine without VPython installed.

If it runs OK, we can see from there what I might have done
differently from you in building the executable.

Art

Jul 18 '05 #5

P: n/a
Bruce, I could not reply to the private mail you sent me (some permanent
error at the mail server), so here it goes:

Bruce Peterson writes:
Thomas
Thanks -- here are the files in the distribution directory created
by PY2EXE for tower of Hanoi demo.
cvisual.dll
datetime.pyd
DDRAW.dll
dirlist.txt
GLU32.dll
hanoi.exe
library.zip
multiarray.pyd
OPENGL32.dll
python23.dll
umath.pyd
w9xpopen.exe
_numpy.pyd
_sre.pyd

Bruce, you should at least remove these files from the dist dir, and
make sure in other ways that opengl and direct draw (is this directX, or
how it's called?) is installed on the target system:
DDRAW.dll
GLU32.dll
OPENGL32.dll


I'm not sure where cvisual.dll comes from. (10 seconds later, after
googling around: ah, it's from VPython, so it must stay).

The other files are Python extensions.

Thomas
Jul 18 '05 #6

P: n/a
bap
Thomas
Thanks -- removing the OPENGL dlls did the trick. Turns out they are
included with Windows2k (and xp and Nt) -- which I once knew, but anyway
having another copy apparently greatly confused Windows.

Bruce
"Thomas Heller" <th*****@python.net> wrote in message
news:ma*************************************@pytho n.org...
Bruce, I could not reply to the private mail you sent me (some permanent
error at the mail server), so here it goes:

Bruce Peterson writes:
Thomas
Thanks -- here are the files in the distribution directory created
by PY2EXE for tower of Hanoi demo.
cvisual.dll
datetime.pyd
DDRAW.dll
dirlist.txt
GLU32.dll
hanoi.exe
library.zip
multiarray.pyd
OPENGL32.dll
python23.dll
umath.pyd
w9xpopen.exe
_numpy.pyd
_sre.pyd


Bruce, you should at least remove these files from the dist dir, and
make sure in other ways that opengl and direct draw (is this directX, or
how it's called?) is installed on the target system:
DDRAW.dll
GLU32.dll
OPENGL32.dll


I'm not sure where cvisual.dll comes from. (10 seconds later, after
googling around: ah, it's from VPython, so it must stay).

The other files are Python extensions.

Thomas

Jul 18 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.