<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Kobe,<div class="">sorry for late reply.</div><div class=""><br class=""></div><div class="">The Python 3 should be correctly supported, at least it is the version that is currently used within MapMint thanks to the work started during last year GSoC by Fenil Mehta (ref. <a href="https://github.com/fenilgmehta/mapmint" class="">https://github.com/fenilgmehta/mapmint</a> ).</div><div class=""><br class=""></div><div class="">Thanks for your feedback about the comment line (617 of configure.ac) which is wrongly referring to libphp when lib python is verified, this will be fixed. For the version number, it is mainly used to find the right python-config that may be named python3-config on some platform (usually where there are both python 2 and 3 available), hence you can specify the specific version number you want to use. </div><div class=""><br class=""></div><div class="">Nevertheless, from what you have provided I can notice that you mentioned the major, minor version number when only the major version is expected. Supposing that there is a « python-config » program named python3-config from your build system, then it should be ok and the python library should be properly found.</div><div class=""><br class=""></div><div class="">Hence, I suppose that in case you run you configure command by replacing the —with-pyvers=3.7 by —with-python=3 it should work.</div><div class=""><br class=""></div><div class="">I hope it helps.</div><div class=""><br class=""></div><div class="">Best regards,</div><div class=""><br class=""></div><div class="">Gérald Fenoy</div><div class="">ZOO-Project PSC Chair</div><div class=""><br class=""></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Le 4 févr. 2020 à 11:33, Kobe De Decker <<a href="mailto:kobededecker@gmail.com" class="">kobededecker@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi there,<div class=""><br class=""></div><div class="">I was using Zoo WPS successfully for many projects using it in a Docker image i built myself. Lately Python 2.7 has been deprecated, and I can't deploy new zoo services anymore as many of my processes use numpy and I get installation errors saying that numpy cant be installed anymore on this old Python.</div><div class=""><br class=""></div><div class="">I have been trying to compile the Kernel with Python 3.x (in Conda) for a couple of days now, but am stuck on the last phase of the configure step. This is wat I enter:</div><div class=""><br class=""></div><div class="">./configure --with-python=/opt/app-root/src/miniconda3 --with-pyvers=3.7 --prefix=/usr --libdir=/usr/lib64</div><div class=""><br class=""></div><div class="">But the process breaks on this line:</div><div class=""><br class=""></div><div class="">checking Python.h usability... yes<br class="">checking Python.h presence... yes<br class="">checking for Python.h... yes<br class="">checking for PyObject_CallObject in -lpython3.7... no<br class="">configure: error: could not find libpython<br class=""></div><div class=""><br class=""></div><div class="">So the configure phase definitely finds my python installation, but fails its last check. If i check in configure and <a href="http://configure.ac/" class="">configure.ac</a> files, this should have something to do with linking with libphp (while I dont need php for my processes .. ).</div><div class=""><br class=""></div><div class="">When I install python included in Centos repositories (2.7), the configure phase just passes without errors .. </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Any clues? </div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">Kobe</div></div>
_______________________________________________<br class="">Zoo-discuss mailing list<br class=""><a href="mailto:Zoo-discuss@lists.osgeo.org" class="">Zoo-discuss@lists.osgeo.org</a><br class="">https://lists.osgeo.org/mailman/listinfo/zoo-discuss</div></blockquote></div><br class=""></div></body></html>