Closed klrqst closed 8 months ago
The initial error message mentions the file /usr/local/lib/libfmt.a
, suggesting a "local" installation of libfmt
. However, you then installed a copy of libfmt
at the system level, and I suspect the two are getting mixed together (and are different versions of libfmt
). I would suggest removing your local installation from /usr/local
-- both the header files in /usr/local/include
as well as the library files in /usr/local/lib
.
I am closing this question - in case there are any additional difficulties, please post on the Cantera User's group - https://groups.google.com/group/cantera-users
System information Cantera version 3.0.0 Ubuntu-20.04 Python version 3.8.10 GNU fortran version 9.4.0
Expected Behavior Compiling the Cantera python package
Compilation and installation steps
Error reporting
Solution
sudo apt install libfmt-dev
Compilation successful.Installed successfully.
Loading environment
Run a case in python
python3 burner_flame.py
Error
May I ask how to resolve this error? Thank you very much!!