Date: Thu, 23 Aug 2018 08:22:05 +0200 From: Bernt Hansson <bah@borh.eu> To: Michael Beasley <youvegotmoxie@gmail.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: PyQt4 Message-ID: <39b1e830-2a72-2d14-6972-0560b59f11a5@borh.eu> In-Reply-To: <73FEA2F9-C28C-41BC-855B-125C6F3A6E45@gmail.com> References: <bf855404-f142-8707-9c82-25769a5e218e@borh.eu> <e451a2d6-4852-1dc0-3afb-d34252d82199@ShaneWare.Biz> <60a28021-8b13-4c2a-3afd-803f1b1f9afe@borh.eu> <73FEA2F9-C28C-41BC-855B-125C6F3A6E45@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/18/18 22:16, Michael Beasley wrote: > >> On Jul 15, 2018, at 22:18, Bernt Hansson <bah@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. No pyqt4 is found. >>> This will show all your pyqt4 packages >>> pkg info -x 'py[23][0-9]-qt4' py27-qt4-4.12.1_1 py27-qt4-assistant-4.12.1_3,1 py27-qt4-core-4.12.1_7,1 py27-qt4-dbus-4.12.1_3,1 py27-qt4-dbussupport-4.12.1 py27-qt4-declarative-4.12.1_3 py27-qt4-demo-4.12.1_1,1 py27-qt4-designer-4.12.1_3,1 py27-qt4-designerplugin-4.12.1,1 py27-qt4-doc-4.12.1,1 py27-qt4-gui-4.12.1_3,1 py27-qt4-help-4.12.1_3 py27-qt4-multimedia-4.12.1_3 py27-qt4-network-4.12.1_3,1 py27-qt4-opengl-4.12.1_3,1 py27-qt4-phonon-4.12.1_4 py27-qt4-qscintilla2-2.10.4,1 py27-qt4-script-4.12.1_3,1 py27-qt4-scripttools-4.12.1_3,1 py27-qt4-sql-4.12.1_3,1 py27-qt4-svg-4.12.1_3,1 py27-qt4-test-4.12.1_3,1 py27-qt4-webkit-4.12.1_3 py27-qt4-xml-4.12.1_3,1 py27-qt4-xmlpatterns-4.12.1_3 >>> To see what python flavoured packages are available - >>> pkg search 'py[23][0-9]-qt4' py27-qt4-4.12.1_1 Python bindings for the Qt 4 toolkit (meta port) py27-qt4-assistant-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtAssistant module py27-qt4-core-4.12.1_7,1 Python bindings for the Qt4 toolkit, QtCore module py27-qt4-dbus-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtDBus module py27-qt4-dbussupport-4.12.1 Qt event loop support for dbus-python py27-qt4-declarative-4.12.1_3 Python bindings for the Qt4 toolkit, QtDeclarative module py27-qt4-demo-4.12.1_1,1 Python bindings for the Qt4 toolkit, Qt demo and examples py27-qt4-designer-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtDesigner module py27-qt4-designerplugin-4.12.1,1 Python bindings for the Qt4 toolkit, QtDesigner plugin py27-qt4-doc-4.12.1,1 Python bindings for the Qt4 toolkit, documentation py27-qt4-gui-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtGui module py27-qt4-help-4.12.1_3 Python bindings for the Qt4 toolkit, QtHelp module py27-qt4-multimedia-4.12.1_3 Python bindings for the Qt4 toolkit, Multimedia module py27-qt4-network-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtNetwork module py27-qt4-opengl-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtOpenGL module py27-qt4-phonon-4.12.1_4 Python bindings for the Qt4 toolkit, Phonon module py27-qt4-qscintilla2-2.10.4,1 Python bindings for QScintilla2 (PyQt4), QSci module py27-qt4-script-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtScript module py27-qt4-scripttools-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtScriptTools module py27-qt4-sql-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtSql module py27-qt4-svg-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtSvg module py27-qt4-test-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtTest module py27-qt4-webkit-4.12.1_3 Python bindings for the Qt4 toolkit, QtWebKit module py27-qt4-xml-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtXml module py27-qt4-xmlpatterns-4.12.1_3 Python bindings for the Qt4 toolkit, QtXmlPatterns module py36-qt4-4.12.1_1 Python bindings for the Qt 4 toolkit (meta port) py36-qt4-assistant-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtAssistant module py36-qt4-core-4.12.1_7,1 Python bindings for the Qt4 toolkit, QtCore module py36-qt4-dbus-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtDBus module py36-qt4-dbussupport-4.12.1 Qt event loop support for dbus-python py36-qt4-declarative-4.12.1_3 Python bindings for the Qt4 toolkit, QtDeclarative module py36-qt4-demo-4.12.1_1,1 Python bindings for the Qt4 toolkit, Qt demo and examples py36-qt4-designer-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtDesigner module py36-qt4-designerplugin-4.12.1,1 Python bindings for the Qt4 toolkit, QtDesigner plugin py36-qt4-doc-4.12.1,1 Python bindings for the Qt4 toolkit, documentation py36-qt4-gui-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtGui module py36-qt4-help-4.12.1_3 Python bindings for the Qt4 toolkit, QtHelp module py36-qt4-multimedia-4.12.1_3 Python bindings for the Qt4 toolkit, Multimedia module py36-qt4-network-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtNetwork module py36-qt4-opengl-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtOpenGL module py36-qt4-phonon-4.12.1_4 Python bindings for the Qt4 toolkit, Phonon module py36-qt4-qscintilla2-2.10.4,1 Python bindings for QScintilla2 (PyQt4), QSci module py36-qt4-script-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtScript module py36-qt4-scripttools-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtScriptTools module py36-qt4-sql-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtSql module py36-qt4-svg-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtSvg module py36-qt4-test-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtTest module py36-qt4-webkit-4.12.1_3 Python bindings for the Qt4 toolkit, QtWebKit module py36-qt4-xml-4.12.1_3,1 Python bindings for the Qt4 toolkit, QtXml module py36-qt4-xmlpatterns-4.12.1_3 Python bindings for the Qt4 toolkit, QtXmlPatterns module
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39b1e830-2a72-2d14-6972-0560b59f11a5>