HI!
I've a problem with py2exe: well, first of all I say that I use python
2.4.1 , py2exe 0.6.3 and distutils 1.0.2 on winxp.
To use py2exe I wrote a file setup.py like this:
from distutils.core import setup
import py2exe
setup(
version = "0.1",
description = "Py2Exe Script",
name = "App.exe",
windows = ["C:\app\\app.py "],
)
file that is launched in this way:
D:\programs\pyt hon24\python.ex e setup.py py2exe
The command starts and at the beginning seems that all goes on with no
problem, but at a certain point there's an error:
copying D:\programs\pyt hon24\MSVCR71.d ll -> D:\Applicazione \dist
error: could not delete 'C:\app\dist\MS VCR71.dll': Permission denied
However folders build and dist are created: in particular into the
folder dist i have the w9xpopen.exe file, some *.pyd files and some
dll's... among dll's I have the MSVCR71.dll too.
I don't understand what's the problem so I ask you a help!!!
See ya, bye! 2 2906
Hello DDany, copying D:\programs\pyt hon24\MSVCR71.d ll -> D:\Applicazione \dist error: could not delete 'C:\app\dist\MS VCR71.dll': Permission denied However folders build and dist are created: in particular into the folder dist i have the w9xpopen.exe file, some *.pyd files and some dll's... among dll's I have the MSVCR71.dll too.
My guess in the MSVCR71.dll is a read-only file in system32 and when py2exe
tries to copy it the 2'nd time it fails.
Either change MSVCR71.dll to read-write in system32 or delete "dist" before
calling to py2exe.
One final note:
You subject line could have been better, see http://www.catb.org/~esr/faqs/smart-questions.html.
Bye.
--
------------------------------------------------------------------------
Miki Tebeka <mt*****@qualco mm.com> http://tebeka.bizhat.com
The only difference between children and adults is the price of the toys
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: GnuPT 2.7.2
iD4DBQFDZcWK8jA dENsUuJsRAl/DAJjJ1tj+A++Cku uR02DJNTqonh4lA JsGEjL6
ub5Ehhgyfd2LqwH +ghiz4Q==
=aYrw
-----END PGP SIGNATURE-----
Hi Miki,
I solved this first problem, thank you!
I was convinced to done things you suggested me, but... it wasn't!!!
I changed the access type of MSVCR71.dll and all went ok!
Thank you once again for your interest, bye!
P.S
Thank you for your final note too, next time I'll make a better
subject!
Miki Tebeka wrote: Hello DDany, My guess in the MSVCR71.dll is a read-only file in system32 and when py2exe tries to copy it the 2'nd time it fails.
Either change MSVCR71.dll to read-write in system32 or delete "dist" before calling to py2exe.
One final note: You subject line could have been better, see http://www.catb.org/~esr/faqs/smart-questions.html.
Bye. -- ------------------------------------------------------------------------ Miki Tebeka <mt*****@qualco mm.com> http://tebeka.bizhat.com The only difference between children and adults is the price of the toys 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.
py2exe output is last.
|
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: **********************************
warning: py2exe: * The following modules were not found:
warning: py2exe: * Carbon.Folder
|
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: 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 when I run the executable.
Traceback (most recent call last):
File "mpival3.py", line 1264, in ?
| |
by: Michele Petrazzo |
last post by:
Hi list,
just found in this moment that my applications stop to work with win xp
and receive this error:
"""
This application has requested the Runtime to terminate it in an unusual
way. Please contact the application's support team for more information.
"""
(Note that the same application with
|
by: thomas carpentier |
last post by:
Hello,
I have created a program with a GUI ( glade). In this script I call the
Python Imaging Library.
I have developped this program onto linux, but il would like export it
on Windows, however I have a problem with py2exe. If the new user has
not python and library(PIL, GLADE) installed, it doesn't work. I don't
know how integrate library into my setup.
|
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: msunderwd |
last post by:
Having a problem with "compiling" a Tkinter/python program using
py2exe (and pyinstaller, for that matter)...
I have several dialogs that are derived from the tkSimpleDialog.Dialog
class. These work just fine if run through the interpreter. When I
"compile" this with py2exe, I don't see any errors, and when I execute
the resulting program, it "appears" to work fine until I invoke one of
the derived dialogs.
Then, I get the "body" of...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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: 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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |