Running Linux Universal v9.12.0 binary on Gentoo

Hello,

The issue seems due to Python 3.12 where configparser.SafeConfigParser has been removed. It is deprecated since 3.2 but without warning message :frowning:

I’m not familiar with the Universal version, but it should come with its own Python.
So if you load the environment first, by sourcing the env_launch.sh file as NabilG explained, then it should use the internal Python instead of the local one (Try which python to check).
If it is not the case then remove path to your local python from the environment.

Another solution could be to “fix” the issue with SafeConfigParser:

  • edit the file SALOME-9.12.0/BINARIES-CO7/KERNEL/bin/salome/parseConfigFile.py
  • replace configparser.SafeConfigParser with configparser.ConfigParser
  • do the same with SALOME-9.12.0/BINARIES-CO7/SALOME/bin/salome/parseConfigFile.py

I made quick tests and I had no errors (but I’m testing on Ubuntu 22 with Python 3.10).