Notices


Reply
Thread Tools
Posts: 196 | Thanked: 54 times | Joined on Jan 2010 @ UK
#1
I am trying to test a newly installed app that is failing with

ImportError: No module named PyQt4.

I have tried

apt-get install PyQt4
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package PyQt4

i have looked through extras repository and found
python2.5-qt4-core
python2.5-qt4-common
python2.5-qt4-gui

however trying to install gives this error

Code:
 apt-get install python2.5-qt4-gui
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  python2.5-qt4-gui: Depends: python2.5-qt4-core (= 4.7-maemo2) but 4.7-maemo5 is to be installed
E: Broken packages
how can I install this?
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#2
There is different versions of PyQt4 between testing, devel and probably extras now.

Disable either testing or devel, do an update, and try again.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 196 | Thanked: 54 times | Joined on Jan 2010 @ UK
#3
I have testing and devel disabled, have done update.

Looking in http://repository.maemo.org/extras-t...armel/Packages
There is
python2.5-qt4-common_4.7-maemo2_armel.deb
python2.5-qt4-common_4.7-maemo5_armel.deb
how do I get it to use the right one, do I just install the 4.7-maemo2 with dpkg?
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#4
if you disabled both and updated.. just try doing:

apt-get install python2.5-qt4-gui

Or there is a python2.5-qt4 something (-docs?) that shows up in package manager that you can install.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 196 | Thanked: 54 times | Joined on Jan 2010 @ UK
#5
python2.5-qt4-doc is in app manager but will not install
problems tab shows
Code:
application packages missing python2.5-qt4-core(=4.7-maemo2)
                             python2.5-qt4-core(=4.7-maemo2)
                             python2.5-qt4-core(=4.7-maemo2)
This is getting a bit silly!
 
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#6
Originally Posted by fred123 View Post
python2.5-qt4-doc is in app manager but will not install
re-enable extras-testing, that's the version number there. it should be able to resolve the dependency with only -testing enabled.
__________________
"What we perceive is not nature itself, but nature exposed to our method of questioning."
-- Werner Karl Heisenberg
 
Posts: 196 | Thanked: 54 times | Joined on Jan 2010 @ UK
#7
With only extras-testing enabled I see the same problem tab in app manager.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#8
After enabling testing did you do a:
Code:
sudo gainroot
apt-get update
??

If so:
Disable testing and enable devel. That's what the other person with this problem did and it worked for them. I figured it'd work either way.

Python2.5-qt4 is in Extras but is legitimately missing the -core.. http://maemo.org/packages/package_in...ui/4.7-maemo2/ .. but thats in testing so it's weird you still have problems.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 196 | Thanked: 54 times | Joined on Jan 2010 @ UK
#9
@fatalsaint
Thanks I have been chasing this problem for a couple of hours.
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#10
Package versions are FUBAR (there is a mix of -maemo3 and -maemo5 versions, which I did NOT promote), stand by.
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 11:52.