473,545 Members | 2,737 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with PY2EXE and VPython

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
6 4040
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
Jul 18 '05 #2
"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
Jul 18 '05 #3
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******** *************** **************@ 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

Jul 18 '05 #4
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******@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

Jul 18 '05 #5
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
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******** *************** **************@ 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

Jul 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2974
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....
5
4011
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.
0
1378
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:...
8
1512
by: Ali | last post by:
Anyone use VPython?
5
1814
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.
5
2606
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.)
17
3412
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:
4
3990
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...
1
2340
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
0
7434
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7692
Oralloy
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. ...
0
7946
jinu1996
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...
0
6026
agi2029
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...
0
5078
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...
0
3491
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1045
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
744
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.