<div dir="ltr">I just installed Qt 5.9.2 and built PyQt5 using the latest snapshot for 5.9.2. This is on Linux Ubuntu 16.04.<div><br></div><div><div>$ QML2_IMPORT_PATH=. ~/Qt/5.9.2/gcc_64/bin/qmlscene app.qml </div><div>file:///home/siecje/Downloads/PyQt5_gpl-5.9.1.dev1710071532/examples/quick/tutorials/extending/chapter6-plugins/app.qml:42 plugin cannot be loaded for module "Charts": Cannot load library /home/siecje/Qt/5.9.2/gcc_64/plugins/PyQt5/libpyqt5qmlplugin.so: (/home/siecje/Qt/5.9.2/gcc_64/plugins/PyQt5/libpyqt5qmlplugin.so: undefined symbol: _Py_NoneStruct)</div><div><br></div><div>$ scanelf -l -s _Py_NoneStruct | grep _Py_NoneStruct</div><div>ET_DYN _Py_NoneStruct /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0</div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 6, 2017 at 9:57 AM, Phil Thompson <span dir="ltr"><<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 6 Sep 2017, at 2:52 pm, Cody Scott <<a href="mailto:cody@perspexis.com">cody@perspexis.com</a>> wrote:<br>
><br>
> Hey Phil,<br>
><br>
> I was wondering if you had a chance to look at this?<br>
<br>
</span>It's something to do with the Python or the plugin build (works fine on macOS).<br>
<br>
Phil<br>
<span class=""><br>
> On Thu, Aug 17, 2017 at 11:39 AM, Cody Scott <<a href="mailto:cody@perspexis.com">cody@perspexis.com</a>> wrote:<br>
> I have built PyQt5 from source using the latest sip and PyQt5 snapshots.<br>
><br>
> I'm trying to run examples/quick/tutorials/<wbr>extending/chapter6-plugins/<br>
><br>
> $ QML2_IMPORT_PATH=. LD_LIBRARY_PATH=~/.<wbr>virtualenvs/pyqt5/lib/python3.<wbr>5/ ~/Qt/5.9.1/gcc_64/bin/qmlscene app.qml<br>
><br>
> file:///home/siecje/Downloads/<wbr>PyQt5_gpl-5.9.1.dev1707250927/<wbr>examples/quick/tutorials/<wbr>extending/chapter6-plugins/<wbr>app.qml:42<br>
> plugin cannot be loaded for module "Charts":<br>
> Cannot load library /home/siecje/Qt/5.9.1/gcc_64/<wbr>plugins/PyQt5/<wbr>libpyqt5qmlplugin.so:<br>
><br>
> (/home/siecje/Qt/5.9.1/gcc_64/<wbr>plugins/PyQt5/<wbr>libpyqt5qmlplugin.so: undefined symbol: _Py_NoneStruct)<br>
><br>
><br>
> Related email threads<br>
><br>
> <a href="https://www.riverbankcomputing.com/pipermail/pyqt/2017-February/038794.html" rel="noreferrer" target="_blank">https://www.<wbr>riverbankcomputing.com/<wbr>pipermail/pyqt/2017-February/<wbr>038794.html</a><br>
> <a href="https://www.riverbankcomputing.com/pipermail/pyqt/2017-February/038735.html" rel="noreferrer" target="_blank">https://www.<wbr>riverbankcomputing.com/<wbr>pipermail/pyqt/2017-February/<wbr>038735.html</a><br>
><br>
><br>
</span>> ______________________________<wbr>_________________<br>
> PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
> <a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" target="_blank">https://www.<wbr>riverbankcomputing.com/<wbr>mailman/listinfo/pyqt</a><br>
<br>
</blockquote></div><br></div>