On 2017-04-17 16:30-0700 Alan W. Irwin wrote: > Note also that there are additional non-standard Python examples in > the examples/python subdirectory so those should all be checked to > make sure they work with both Python 2 and Python 3. And similarly > for the pyqt4 and pyqt5 standard examples.
Hi Hazen: Could you please test commit 578b028? For that commit I made some modest progress with Python 3 for both pyqt4 and pyqt5, but I have hit a roadblock with a run-time error saying the plplot_pyqt[45] extension modules are not initialized properly when the script tries to import one of those modules. The sip, pyqt[45], and python3 software packages are all supposed to work well together for their latest versions according to my google search results, but it is possible the Debian Jessie versions of these software packages are too old and buggy which is why I am asking you to test this commit by attempting to build the test_pyqt[45]_example target (depending on whether your build system finds Qt4 or Qt5) for both the python2 and python3 cases (where the former builds and runs plplot_pyqt[45] without issues here, but the latter case only builds these extension modules without obvious issues but runs into initialization errors at run time). The test_pyqt4_example target build all prerequisites with success but fails the final run-time test. Here is the relevant error message if I attempt to do the run-time test by hand: software@raven> python3 examples/python/pyqt4_example.py Traceback (most recent call last): File "examples/python/pyqt4_example.py", line 33, in <module> import plplot_pyqt4 ImportError: dynamic module does not define init function (PyInit_plplot_pyqt4) Do you get a similar error there or success? For the record here is the complete list of python3-related packages I have installed on Debian Jessie. If you think I am missing anything please let me know. software@raven> dpkg --list |grep python3 |cut --delimiter=" " --fields=3 libpython3-dev:amd64 libpython3-stdlib:amd64 libpython3.4:amd64 libpython3.4-dev:amd64 libpython3.4-minimal:amd64 libpython3.4-stdlib:amd64 python3 python3-apt python3-chardet python3-checkbox-ng-doc python3-debian python3-dev python3-dugong python3-magic python3-minimal python3-numpy python3-pkg-resources python3-pyqt4 python3-pyqt5 python3-sip python3-sip-dev python3-six python3-tk python3-uno python3.4 python3.4-dev python3.4-minimal Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel