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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e451a2d6-4852-1dc0-3afb-d34252d82199>