468,110 Members | 1,872 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,110 developers. It's quick & easy.

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 2718
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Harshad | last post: by
3 posts views Thread by Tina I | last post: by
25 posts views Thread by Daniel Jonsson | last post: by
2 posts views Thread by wd.jonsson | last post: by
reply views Thread by Pradnyesh Sawant | last post: by
reply views Thread by Steve Holden | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.