From owner-freebsd-questions@freebsd.org Mon Jul 16 03:04:55 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE368103A12C for ; Mon, 16 Jul 2018 03:04:55 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by mx1.freebsd.org (Postfix) with ESMTP id D09D57BC2A for ; Mon, 16 Jul 2018 03:04:54 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from unknown (HELO leader.local) ([118.211.22.128]) by ipmail06.adl2.internode.on.net with ESMTP; 16 Jul 2018 12:29:42 +0930 Subject: Re: PyQt4 To: Bernt Hansson , "freebsd-questions@freebsd.org" References: From: Shane Ambler Message-ID: Date: Mon, 16 Jul 2018 12:29:41 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 03:04:55 -0000 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 >     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