FreeBSD at ShaneWare.Biz
Mon Jul 16 03:04:55 UTC 2018
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[0-9]-qt4'
To see what python flavoured packages are available -
pkg search 'py[0-9]-qt4'
FreeBSD - the place to B...Software Developing
More information about the freebsd-questions