I'm trying to update the QLabel in test.py using TimeThread from TimeThread.py.
I get this error....
Code:
Traceback (most recent call last):
File "/home/..../workspace/Python/Test/test.py", line 37, in <module>
t = Test()
File "/home/..../workspace/Python/Test/test.py", line 18, in __init__
self.myTimeThread.start()
I am trying to make a python app that basically views a web page with QUICKLY on Ubuntu 12.04.
I have python 2.7 and just installed 3.2 (on 11.04) from the repos, anyone know what happens when I install PyQt4? (it's installed and working from the repos for 2.7).
I downloaded the latest version of sip/pyqt4 and the message from .configure indicated it was going to put some stuff in /usr/bin (and some in a python3.2 directory). I'm worried it would overwrite some 2.7 stuff.
dundee wrote:I have another problem.It's a message during package making:Makefile:367: *** Error: The required 'PyQt4' module can't be found; ensure it's attached to 'Python v3' before building. Stop.PyQt is installed.How can I solve it?Just install "python3-pyqt4" package. It worked for me!
I am currently stuck using both Python2.6 and Python2.7 on Lubuntu 12.10. 2.6 is required for a piece of software.
In attempting to write a plug-in for this software (Opticks), I need to be able to access PyQt4. Using apt-get install python-qt4 I get a perfectly working installation for 2.7...
I have tried altering the default python version and changing the soft link in /usr/bin to 2.6.
I am trying to package a program I wrote (using Pyqt4) into a single executable for linux. I tried using Pyinstaller however it has problems with importing Gio (for settings)
from gi.repository import Gio
Running the application would give:
ImportError: cannot import name Gio
I then tried to use bbFreeze.
Hi all, I am learning python and i have installed python 3 on my Ubuntu 11.10.
I am trying to use ncurses in Python 2.6 on openSUSE 11.2, but the curses module appears to be missing.
I keep getting this error:
Code:
>>> import curses
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
Are there packages for PyGTK or PyQt4 for python3? I can't find any, only for python 2.6.