[PyQt] plugin "pyqt5qmlplugin" not found
cody at perspexis.com
Thu Feb 2 14:50:46 GMT 2017
If I copy the libpyqt5qmlplugin.so into the Charts directory then I get an
ImportError: PyCapsule_Import could not import module "sip"
Traceback (most recent call last):
line 41, in <module>
from PyQt5.QtQml import qmlRegisterType, QQmlExtensionPlugin
ImportError: /usr/lib/python2.7/dist-packages/PyQt5/QtQml.so: undefined
"Charts" is not installed
On Mon, Jan 30, 2017 at 9:22 AM, Cody Scott <cody at perspexis.com> wrote:
> I ran configure providing the qmake path for Qt and then make and make
> On Sat, Jan 28, 2017 at 10:03 AM, Phil Thompson <
> phil at riverbankcomputing.com> wrote:
>> On 27 Jan 2017, at 7:26 pm, Cody Scott <cody at perspexis.com> wrote:
>> > I'm trying to use a Python type with qmlscene.
>> > http://pyqt.sourceforge.net/Docs/PyQt5/qml.html#writing-pyth
>> > I'm trying to run the example from `examples/quick/tutorials/exte
>> > $ QML2_IMPORT_PATH=. ~/Qt/5.7/gcc_64/bin/qmlscene app.qml
>> > file:///path/to/app.qml:42 module "Charts" plugin "pyqt5qmlplugin" not
>> > It appears I do have the pyqt5qmlplugin.
>> > $ ls ~/Qt/5.7/gcc_64/plugins/PyQt5/
>> > libpyqt5qmlplugin.so*
>> How did you install PyQt? It's not included in the wheels.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt