Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2018 05:18:58 +0200
From:      Bernt Hansson <bah@borh.eu>
To:        Shane Ambler <FreeBSD@shaneware.biz>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: PyQt4
Message-ID:  <60a28021-8b13-4c2a-3afd-803f1b1f9afe@borh.eu>
In-Reply-To: <e451a2d6-4852-1dc0-3afb-d34252d82199@ShaneWare.Biz>
References:  <bf855404-f142-8707-9c82-25769a5e218e@borh.eu> <e451a2d6-4852-1dc0-3afb-d34252d82199@ShaneWare.Biz>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 07/16/18 04:59, Shane Ambler wrote:
> 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.
python --version
Python 2.7.15

Py-qt4 is installed as py27-qt4 and py36-qt4. Still it is not found.
> 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'
>
>




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?60a28021-8b13-4c2a-3afd-803f1b1f9afe>