473,616 Members | 2,835 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PyInstaller: problem to build exe with PyQt4

Hi,

I need to generate single EXEcutable via PyInstaller.
It will be genereated -i get one single executable.

AFTER CALL (exe) I get an error: "no module named _gt"

Build command:
1. Configure.py
2. Makespec.py -F <script>.py
3. Build.py <script>.spec
-----------------------------------------------------------------
after exe-call ""no module named _gt" (is a part of PyQt)
-----------------------------------------------------------------

HOW CAN I INCLUDE PyQt explicite in build process OR HOW CAN I solve my problem.

Thank You for every idea or help

Regards

Mark
--
Super-Aktion nur in der GMX Spieleflat: 10 Tage für 1 Euro.
Über 180 Spiele downloaden: http://flat.games.gmx.de
Jun 27 '08 #1
1 4786
On Tue, 03 Jun 2008 08:35:37 +0200, Mark Delon wrote:
Hi,

I need to generate single EXEcutable via PyInstaller. It will be
genereated -i get one single executable.

AFTER CALL (exe) I get an error: "no module named _gt"

Build command:
1. Configure.py
2. Makespec.py -F <script>.py
3. Build.py <script>.spec
----------------------------------------------------------------- after
exe-call ""no module named _gt" (is a part of PyQt)
-----------------------------------------------------------------

HOW CAN I INCLUDE PyQt explicite in build process OR HOW CAN I solve my
problem.

Thank You for every idea or help
Please try again with PyInstaller from SVN trunk.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
Jun 27 '08 #2

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

Similar topics

1
3651
by: kbperry | last post by:
Hi all, I am pretty confused on this? While pyinstaller has a "MakeCOMServer.py" thing, it seems to blow up every time I run it. It keeps complaining that a dictionary that I have has "TypeError: unscriptable object.", but when I run my code normally (outside of trying to make an .exe), it runs perfectly. The dictionary doesn't have any data in it, until I call a method to grab some data from a file.
8
2421
by: LittlePython | last post by:
Is it possible when using packages like PyInstaller to create an .exe for distribution that parts of the package can bleed out and be left on a system when the .exe is executed? Thx
10
110200
true911m
by: true911m | last post by:
This is a simple walkthrough to get PyInstaller up and running. I decided to give PI a try, because it claims to be more selective about what it bundles into its executable files by default, and it also integrates UPX (Ultimate Packer for eXecutables) into the build process, if you have it installed. It also claims functionality on linux, as a bonus (I didn't test this). I highly recommend the UPX options, and will cover how to get it...
3
2082
by: Tina I | last post by:
I'm trying to 'convert' my self from Qt3 to Qt4 (it rocks!) and one thing seem strange: With Qt3 I usually did "from qt import *", but this does not seem to work with Qt4. I have to use "from PyQt4 import QtGui , QtCore" and also have to use "QtCore.something". Like when connecting a button: self.connect(self.ui.testButton, QtCore.SIGNAL("clicked()"), self.doSomething)
1
7638
by: DierkErdmann | last post by:
Hi ! I am trying to create an exe file using pyinstaller. Running the created exe-File gives the error message "" Traceback (most recent call last): File "<string>", line 8, in <module> File "E:\Documents\mich\job\abs\backup_skript\buildbackup\out1.pyz/ email", lin e 79, in __getattr__
2
3256
by: jiang.haiyun | last post by:
Hi, I am having some serious problems with PyQT4, when i run pyqt script, I always get 'Segmentation fault'. the script is simple: ====================== %less qttest.py from PyQt4 import QtGui, QtCore import sys
7
4252
luke14free
by: luke14free | last post by:
Hello, I'm working on a project and I need to compile it to run it on win as an exe. I choose pyinstaller to build my exe but after several tries my result is always the same, from my console (win2k - py2.5/2.4) I type: c:\>cd pyinstaller-1.3 c:\pyinstaller-1.3>Makespec -w --noconsole ..\\fatture\\fatture.py project compiled...now run Build to build (more or less) c:\pyinstaller-1.3>Build fatture\\fatture.spec
2
6840
by: Mark Delon | last post by:
Hi, My Python executable created with PyInstaller is too slow by starting... It takes about 15 secs.!!! I am using PyQt4 libraries for creating my very simple GUI-application. -How can I SPEED UP my executable ??? -Do you know some GOOD build switches?
0
2488
by: asoft | last post by:
Please i need help with this. I just started using python and i hace run into several issues. The on that i can't tackle is the issue of no being able to compile the python code using PyQt4 application It gives the error ImportError: cannot import name QtCore. .. I tries the trunk from the snv, but it still gives the same error. I also would like to know. if there are any report generation tool i can use with python similar to crystal...
0
8199
marktang
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...
0
8145
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,...
0
8642
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8592
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8448
tracyyun
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...
1
6097
isladogs
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...
0
4060
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4140
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2576
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 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.