472,992 Members | 3,592 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,992 software developers and data experts.

installing pyqt4 on ubuntu 6.06

Hello,
I have a newly installed ubuntu 6.06 system. I am trying to install
pyqt4 on it, but without success. The contents of the
/etc/apt/sources.list file are:
************************************************** ******************************
deb http://in.archive.ubuntu.com/ubuntu/ dapper main restricted universe
deb http://in.archive.ubuntu.com/ubuntu/ dapper-backports main
restricted universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security main universe
deb http://in.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
************************************************** ******************************
I've tried installing everything related to python2.4 and qt4,
including sip, pyqt-tools, etc. However, on running a pyqt script, it
gives me the following error:
************************************************** ******************************
Traceback (most recent call last):
File "findFiles.py", line 16, in ?
from PyQt4 import QtCore, QtGui
ImportError: No module named PyQt4
************************************************** ******************************

Any pointers regarding what packages should i install to get the
system into working condition would be very helpful

Thanks a lot
--
warm regards,
Pradnyesh Sawant
--
Be yourself......everyone else is taken. --Anon
Apr 10 '07 #1
2 2906
On Tuesday 10 April 2007 07:35, Pradnyesh Sawant wrote:
Any pointers regarding what packages should i install to get the
system into working condition would be very helpful
It's next to impossible, due to conflicts with SIP, and other dependencies.
See these two threads (both started by me) for more information:

http://ubuntuforums.org/showthread.php?t=243936
http://ubuntuforums.org/showthread.php?t=244612

j

--
Joshua Kugler
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/ Â*ID 0xDB26D7CE

--
Posted via a free Usenet account from http://www.teranews.com

Apr 10 '07 #2
On 10 Apr, 20:48, "Joshua J. Kugler" <jos...@eeinternet.comwrote:
On Tuesday 10 April 2007 07:35, Pradnyesh Sawant wrote:
Any pointers regarding what packages should i install to get the
system into working condition would be very helpful

It's next to impossible, due to conflicts with SIP, and other dependencies.
See these two threads (both started by me) for more information:

http://ubuntuforums.org/showthread.php?t=243936
http://ubuntuforums.org/showthread.php?t=244612
Yes, so much for cutting edge packages in the bleeding edge Ubuntu
releases. Anyway, I've previously made PyQt4 packages for Ubuntu Hoary
based on the Debian (and possibly Ubuntu) sources plus diffs, and as
far as I remember you just need to choose a version of SIP which is
capable of working with both the PyQt3 and PyQt4 sources. I think I
also had to upgrade my PyQt3 stuff in the process, but since the stuff
shipped with Hoary is almost archaic, that was on the cards, anyway.

Sadly, you'll probably get into issues with the various applications
which need PyQt3, and it might be necessary to rebuild them. I'd
provide some details of what I've done, but they aren't currently to
hand, so I'll try and post some more information at a later time.

Paul

Apr 11 '07 #3

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

Similar topics

2
by: Harshad | last post by:
Hi, I'm writing a program using Python 2.4 and PyQt4. The aim is to implement drag and drop from filesystem and display a list of files dragged on to the listWidget. This function will later...
3
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...
25
by: Daniel Jonsson | last post by:
So, I've reached the point where my building pipeline tools actually needs to be used by other people in my company. By this reason I actually need to think about the usability, and I've come to...
2
by: wd.jonsson | last post by:
Hello! I must be doing something wrong here because I'm getting all these missing .dll messages after installing PyQT. This is what I've done (no step excluded): 1. Fresh installation of...
2
by: AngelOfDarkness | last post by:
Hi guys, unfortunately I am pretty new to Python and Qt and all that. Well, I managed to successfully program a little stuff for my work (computational neuroscientist... no comment please), using...
0
by: Pradnyesh Sawant | last post by:
Hello, i have the following code: ################################################################# import time import sys from PyQt4 import QtGui, QtCore class Counter(QtCore.QThread): def...
0
by: ssorower | last post by:
Hi, Does anyone have any idea of where can I have a proper documentaion for installing samhain(client-server) in ubuntu? Samhain website have very generic guide, which seemed not to work perfectly...
1
by: Dogzilla1000 | last post by:
I just installed Python 2.5.2 on UBUNTU Linux. It seems to work, however I don't seem to have access Tkinter. This is the result of "import Tkinter": Python 2.5.2 (r252:60911, Jul 7 2008,...
0
by: Steve Holden | last post by:
Saurabh Agrawal wrote: Unfortunately when a new release comes out package authors don't always rush to meet the demand for their software by providing a release for the new version. If the...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

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.