I have find the system include platform-python package
[root@node1 ~]# /usr/libexec/platform-python -V
what difference with normal python3 ?
my rocky linux version :
Operating System: Rocky Linux 8.5 (Green Obsidian)
Kernel: Linux 4.18.0-348.12.2.el8_5.x86_64
platform-python is used by the portions of the operating system that require python, like dnf. While it is indeed a python intepreter, it really isn’t intended to be used by end user applications.
python3 is the python interpreter that you should be using with your python applications.
I think it was done this way so core operating system components would still function even if the end user doesn’t install a python interpreter.
There are now 3 streams for “user python3”?
(3.6, 3.8, 3.9 ?)
The 3.6 version essentially symlinks to existing platform-python. The other two include binaries.
so if I want use python for docker
I shoud install python3, not direct use platform-python