youvegotmoxie at gmail.com
Wed Jul 18 20:16:53 UTC 2018
> On Jul 15, 2018, at 22:18, Bernt Hansson <bah at borh.eu> wrote:
> 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.
At a Python shell prompt try - help(‘modules’); to see if the module can be seen by your Python installation.
>> 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-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions