timl
Posts: 44
Joined: Sat May 04, 2013 3:41 am

PyQt5 wheezy

Tue Mar 31, 2015 10:06 pm

Hi,

I am trying to follow a tutorial which codes a minimal web browser written in python. This covers 2 bases for me - a simple browser would be good on the Pi and it can ease me into Python. I also tend to use more redhat oriented distros so I need to get up to speed on apt-get.

The first problem I run into relates to PyQt5 which I expect needs to be installed. My efforts thus far have not got me anywhere:
[email protected] ~ $ sudo apt-file search *pyqt5*
E: No config file found
If anyone could suggested how I install this package I would be grateful. I am using Wheezy.

Cheers

User avatar
MarkHaysHarris777
Posts: 1820
Joined: Mon Mar 23, 2015 7:39 am
Location: Rochester, MN
Contact: Website

Re: PyQt5 wheezy

Tue Mar 31, 2015 11:08 pm

If anyone could suggested how I install this package I would be grateful.
in lxterminal

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install python3-pyqt5


If you run into errors, fix, then retry.
marcus
:ugeek:

DirkS
Posts: 9964
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: PyQt5 wheezy

Wed Apr 01, 2015 9:00 am

timl wrote:The first problem I run into relates to PyQt5 which I expect needs to be installed. My efforts thus far have not got me anywhere:
[email protected] ~ $ sudo apt-file search *pyqt5*
E: No config file found
To search the repo use 'apt-cache search':

Code: Select all

apt-cache search pyqt5
I don't think python3-pyqt5 is available for Wheezy though.

ktb
Posts: 1380
Joined: Fri Dec 26, 2014 7:53 pm

Re: PyQt5 wheezy

Wed Apr 01, 2015 9:11 am

Code: Select all

$ sudo apt-get install python-pip
$ pip search pyqt5
python-qt5                - PyQt5
cheesemaker               - A minimalistic image viewer using Python3 and PyQt5
pyqode.qt                 - Provides an abstraction layer on top of the various Qt bindings (PyQt5, PyQt4 and PySide)
qutebrowser               - A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit.
qt_backport               - Makes PySide/PyQt4 code work with Qt5 (using PyQt5)
PyQtX                     - Mimics the structure of PyQt5 but provides PyQt4 as a fallback solution.
QtPy                      - Provides an abstraction layer on top of the various Qt bindings (PyQt5, PyQt4 and PySide) and
                            additional custom QWidgets.
QtStuff                   - Compatibility layer and helper classes for PySide/PyQt4/PyQt5
PyQt5                     - Python bindings for the Qt cross platform GUI toolkit

$ sudo pip install PyQt5
Note: I don't know if you want python-qt5 or PyQt5. Is there a difference? That seems a bit confusing to me.

timl
Posts: 44
Joined: Sat May 04, 2013 3:41 am

Re: PyQt5 wheezy

Sun Apr 05, 2015 1:20 am

thanks for the suggestions. I have hit a few problems so I'll have to work through them but I think I am on track now

Return to “Python”