reinstalling MET for python embedding #2652
-
Hi. I would like to ask for assistance in reinstalling MET for python embedding. When I try to do python embedding, I get the following error: I know from these lines in my log that the python being used by the python embedding and the python that MET is using are not the same. Hence, the need to recompile MET. But when I try to recompile MET, the required library JASPER is not compiling. And here's my jasper.make.log: Thank you very much. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @JosemariePalero. Regarding the Python problem, it would be helpful to see the configuration file for compile_MET_all.sh, along with the config.log file in your MET-11.1.1 directory. Could you please send those along? You could also try setting an environment variable MET_PYTHON_EXE to point to the full path to and including the executable python3 file and then try rerunning and see if that helps. Regarding the Jasper problem, I haven't encountered this problem before, but I did notice that you are using a newer compiler than I have used (GNU 14.1.0), which could be problematic with this older version of jasper. I'd suggest updating the version of the jasper library that you are using and trying to compile it instead. I have attached an updated version of compile_MET_all.sh (called compile_MET_all.new.sh in a zip format) and a newer version of the jasper library for you to try to install (this is the version of the jasper library that we will suggest using in our next official release). Please add this jasper library package to your tar_files subdirectory. You will need to have access to |
Beta Was this translation helpful? Give feedback.
Hi @JosemariePalero. we do development and testing using Debian Linux. And we’re using Debian 12 (bookworm) which is the latest stable release and uses GCC version 12.2.0.
The next Debian release (trixie) is slated to use GCC version 14.1.0, but trixie is still in testing mode. We will eventually upgrade from bookworm to trixie at some point in the future, but certainly not before trixie moves from testing mode to the stable version, and that usually takes a long time as issues with newer compilers are shaken out and resolved.
Because of this, using an earlier GNU compiler, like 12.2.0, is what we recommend.