I'm planning to install on a sensitive production IBM AIX5.3 machine a new Python environment alongside an existing Python 2.5 installation. The goal is to eventually port all legacy code from version 2.5
to 3.9
.
In addition to being extremely old, the current Python environment has not been properly set up and misses several dependencies, so many built-in modules and third party libraries are not usable. Instead of trying to fix an archaic installation, I'm more inclined to install the latest one and port the code bit by bit.
It is crucial for me that the new installation misses no dependencies and runs 100% as intended. The official Python website provides a link to an installation package that should assure me that everything will be in place once installed, but the OS is very old and I have to make sure that libraries that may be now provided by default are not missing.
What is the best way to ensure that a Python installation, including all its built-in modules, is complete and properly working?
I think that running python3 -m test
may be a good starting point, but is it exhaustive?