473,394 Members | 1,089 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 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 2926
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
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...

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.