|
by: Alessandro Crugnola *sephiroth* |
last post by:
Hi,
i'm trying to compile a .py script using py2exe into a win .exe file.
In that script i'm using xml.dom.minidom to parse an xml file (with the iso8859-1 encoding)
i've included in the setup command line the --packages encodings
but once i launch the exe file i receive this error in the console window:
Traceback (most recent call last):
File "<string>", line 51, in Notify
File "<string>", line 105, in __init__
|
by: Mark Hahn |
last post by:
I'm using the MIMEText module as part of sending email with no problem until
I put it through py2exe. Then I get this error:
LookupError: unknown encoding: ascii
.... on this line ...
File "email\Encoders.pyc", line 85, in encode_7or8bit
.... which looks like this ...
|
by: Kathleen Kudzma |
last post by:
I'm having a problem with py2exe for Python 2.3. I got fixed the
Lookuperror no codec search functions registered: can't find encoding by
following the instructions on the py2exe page (added -packages encodings
--force-imports encodings). This resolved the codec error. When I tried to
create an exe with py2exe I still got the following warnings. Please see
the new error I got (after warnings).
...
|
by: Werner Merkl |
last post by:
Hi,
Python is really great, for small to big programs. For my colleagues and
some circumstances I sometimes need to "compile" a script using py2exe.
Cause I use Windows, I like to use the (Windows) ability, to add some
version infos, comments, etc to the exe file.
If I use explorer to check, these properties are visible and correct.
|
by: Mike Zupan |
last post by:
I had some problems with urllib and py2exe under pyton2.3. I works fine
until i try to use the exe file.
Here is the error
Error: 1
LookupError Exception in Tk callback
Function: <bound method MainWindow.selectDir of <__main__.MainWindow
instance
at 0x00DF4058>> (type: <type 'instancemethod'>)
|
|
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: Justin Straube |
last post by:
Hello,
Im trying to compile a script with py2exe. The pickle module is causing the
program to give an error.
Traceback (most recent call last):
File "SETIstat.pyw", line 330, in ?
File "SETIstat.pyw", line 84, in start_up
File "SETIstat.pyw", line 79, in config_load
File "pickle.pyc", line 1390, in load
|
by: Club-B42 |
last post by:
i've compiled my programm using command "python setup.py py2exe >1"
python script works fine, but .exe version fails with
=====================================================================
D:\\Scripts\B-4-2\la2luncher\dist>la2launcher.exe
Traceback (most recent call last):
File "la2launcher.py", line 9, in ?
File "config.pyc", line 11, in ?
File "config.pyc", line 8, in u
LookupError: no codec search functions registered: can't find...
|
by: bartonc |
last post by:
You can find the original author of the script by ggling " Py2Exe version 6.3 setup" The cool thing about this is that it calls py2exe, just in case you're uncomfortable with the command line. I had to search hi and lo for the example of how to exclude Tkinter. Coming soon: scipy includes and numpy include that gets rid of complaints of missing modules that are fantom errors.
# Py2Exe version 6.3 setup file for wxPython GUI programs.
#...
|
by: Leo Lee |
last post by:
Hi, I think I have already solved this problem while I am digging into the
installation sources.
I found this:
C:\Python25\Lib\site-packages\py2exe\samples\singlefile\gui\setup.py
# Requires wxPython. This sample demonstrates:
#
# - single file exe using wxPython as GUI.
|
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: 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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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: 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: 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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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.
|
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...
|