On 02/09/2020 10.17, Daniel P. Berrangé wrote: > On Wed, Sep 02, 2020 at 07:23:13AM +0200, [email protected] wrote: >> Hi, >> >>> 1. CentOS7 with Python 2.7.5 >> >>> Root cause is my argparse and python version. But change the invoking order >>> can adapt both new and old argparse. >> >> python2 is EOL and not supported any more. >> please "yum install python3" (yes, centos7 has it, was added in 7.8). > > Hmm, I'm surpised the build even got this far. configure should be checking > python version and refusing to run with python2 at all before even starting > the build process.
There is a check for python >= in the configure script. 潘睿, did the "configure" script allow you to run with Python 2.7 ? Thomas
