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 6 4030
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
"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
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
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
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
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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: RJS |
last post by:
Hi all,
I can't get a py2exe compiled app to run with numarray (numarray-0.5.win32-
py2.2).
Also wxPythonWIN32-2.3.3.1-Py22 and ActivePython-2.2.1-222.
In the sample below, commenting out...
|
by: Rene Olsthoorn |
last post by:
Dear readers,
py2exe has a problem including libxml2. Not at building time, but at
runtime. The libxml2.dll cannot be loaded... Is there anyone that NOT has
the problem? (and can you drop me...
|
by: bapeterson |
last post by:
I'd like to use PY2EXE to "compile" a program using the
VPYTHON module (www.vpython.org). I have an example
where this was previously done to the demo script: Hanoi.py
(a towers of Hanoi demo) a...
|
by: Ali |
last post by:
Anyone use VPython?
|
by: Ali |
last post by:
Please anyone I would really like the code for makinga dome in
vpython. I would like to be able to adjust he color, axis, radius, and
pos.
|
by: Lad |
last post by:
I try to make an exe file from my script with help of Py2exe but I am
not successfull.
I have my script
start.py that has only one command
###############
import rgs.py
##############
...
|
by: Thomas Heller |
last post by:
py2exe 0.6.1 released
=====================
py2exe is a Python distutils extension which converts python scripts
into executable windows programs, able to run without requiring a
python...
|
by: bwaha |
last post by:
First time trying to create an executable with py2exe. I have a small
program which makes use of python23 (2.3.5?), wxpython ('2.6.2.1'),
matplotlib ('0.83.2'), win32com (latest?), Numeric...
|
by: Dave Lim |
last post by:
>On May 3, 1:29 pm, Dave Lim <diband... at yahoo.com>
wrote:
site:http://surguy.net/articles/speechrecognition.xml
used
out
tried
?
to
protection aroundhttp://mail.yahoo.com
I went and
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |