From: Alan W. I. <ir...@be...> - 2017-08-26 10:43:56
|
On 2017-08-26 02:26-0700 Alan W. Irwin wrote: > On 2017-08-26 11:12+0200 Ole Streicher wrote: > >> Hi Alan, >> >> "Alan W. Irwin" <ir...@be...> writes: >>> The 5.13.0 release has now been completed. (See my recent post to >>> plplot-general for links to the details). >>> >>> I encourage all of you to test the website (I already know of one dead >>> external link there to Homebrew packaging of PLplot, but I hope none >>> of you find any many more of those), and test this release tarball by >>> downloading it, using gpg --verify on it, and building PLplot with it. >> >> That is great news! We (in Debian) like to have a verified chain for the >> source... I will enable this in my packaging. >> >> I run into the first problem, concerning Python support: >> >> During the cmake run, I get the following: >> >> [...] >> -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.4", >> minimum required is "3") >> -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.4", >> minimum required is "2") >> -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found >> version "2.7.13+") >> [...] >> -- WARNING: ENABLE_python is OFF so setting ENABLE_pyqt4 to OFF. >> [...] >> ENABLE_python: OFF >> ENABLE_qt: ON >> ENABLE_pyqt4: OFF >> >> and consequently the pyqt4 bindings are not created. Explicitly using >> -DENABLE_python does not help. >> >> Any idea what to do? > > Hi Ole: > > I need more context to help me to figure out what is going wrong. > > Please send me the complete compressed output from cmake command and also > the compressed CMakeCache.txt file. Hi Ole: The additional context you sent me off-list reads as follows: -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.4", minimum required is "3") -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.4", minimum required is "2") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.13+") Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named 'numpy' -- WARNING: NumPy header not found. Disabling Python binding This simply means you need to install the python3-numpy package (to be consistent with the above python3), and all should be well. 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 __________________________ |