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 4041
On Mon, 26 Apr 2004 23:29:28 GMT, "bap" <no*****@terast at.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*****@terast at.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******** *************** **************@ python.org... "bap" <no*****@terast at.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******@terast at.com
"Arthur" <aj******@opton line.com> wrote in message
news:7m******** *************** *********@4ax.c om... On Mon, 26 Apr 2004 23:29:28 GMT, "bap" <no*****@terast at.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******** *************** **************@ python.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 "import numarray" allows the exe to
run. Left in, I get "4.exe has generated errors" etc.
I'm going around and around and there isn't much on Google....
|
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 your setup.py scipt, please).
Thanks in advance,
Rene O.
|
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 couple of years back. When I try and duplicate
this I get the following warnings of missing modules:
warning: py2exe:...
|
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
##############
(rgs.py is the real program.)
|
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 installation. Console and Windows (GUI) applications, windows
NT services, exe and dll COM servers are supported.
Changes in this release:
|
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 ('23.7') on Windows XP &
Win2000. The program runs without problem but as an exe it doesn't even get
to showing the GUI.
I get the following error log...
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |