I'm new in Linux environment and I need to install python-qt3 on Ubuntu 13.10. How can I install it?
- 66,947
- 30
- 177
- 264
- 93
- 1
- 2
- 5
3 Answers
Ubuntu dropped Qt 3 packages on favor of Qt4. You should install Qt 4 instead:
sudo apt-get install python-qt4
- 66,947
- 30
- 177
- 264
-
Thanks a lot, but, when i try to install gerix-wifi, it's need qt3, there's a new version for gerix-wifi? – user215565 Nov 19 '13 at 22:24
-
1Beats me. You should check their front page. – Braiam Nov 19 '13 at 22:28
you may try the below solution.
This package is still available in Ubuntu 12.04 which is an LTS release. I would recommend you that you use this Ubuntu version as it is more stable.
Anyways, If you want to use your current Ubuntu you may do this: edit the "/etc/apt/sources.list" file using this command:
sudo gedit /etc/apt/sources.list
and add these two lines at the end of it.
deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
after that run:
sudo apt-get update && sudo apt-get install python-qt3
If this is successful please let me know. I am not sure this is the right way to do this so anyone is welcome to edit my answer.
- 246
- 3
- 6
-
i did that, but it appera an error, it say "package python-qt3 is not available" – user215565 Nov 19 '13 at 23:20
-
Oh! I am sorry try the second method. there is no qt3 in pip it must be a Ubuntu Package. – 183.amir Nov 19 '13 at 23:25
there is a package which have both Pyqt3 and Pyqt4, Download and install it.
http://www.develer.com/%7Enaufraghi/PyQt3Support/PyQt3Support-PyQt4.4.4-gpl-r4.tar.gz
If you had installed pyqt4 already , then you can extend it to support pyqt3 also by using this patch.
http://www.develer.com/%7Enaufraghi/PyQt3Support/PyQt3Support-PyQt4.4.4-gpl-r4.patch
- 100,643
- 105
- 254
- 328