Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2018 12:29:41 +0930
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        Bernt Hansson <bah@borh.eu>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: PyQt4
Message-ID:  <e451a2d6-4852-1dc0-3afb-d34252d82199@ShaneWare.Biz>
In-Reply-To: <bf855404-f142-8707-9c82-25769a5e218e@borh.eu>
References:  <bf855404-f142-8707-9c82-25769a5e218e@borh.eu>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 15/07/2018 21:38, Bernt Hansson wrote:
> Hello list.
> 
> Trying to get a python script working again but no luck so far.
> 
> This is the error i'm getting
> 
> % python flatcam.py
> Traceback (most recent call last):
>   File "flatcam.py", line 2, in <module>
>     from PyQt4 import QtGui
> ImportError: No module named PyQt4
> 
> I've installed py-qt4 but no luck.
> 
> Where do i find qtgui and pyqt4?

pyqt is installed for a specific python version, you need to use the
same python version that has pyqt4 installed.

This will show all your pyqt4 packages
pkg info -x 'py[23][0-9]-qt4'

To see what python flavoured packages are available -
pkg search 'py[23][0-9]-qt4'


-- 
FreeBSD - the place to B...Software Developing

Shane Ambler




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?e451a2d6-4852-1dc0-3afb-d34252d82199>