[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ui: fix potential compile error.
From: |
Thomas Huth |
Subject: |
Re: ui: fix potential compile error. |
Date: |
Wed, 2 Sep 2020 12:12:56 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 02/09/2020 10.17, Daniel P. Berrangé wrote:
> On Wed, Sep 02, 2020 at 07:23:13AM +0200, kraxel@redhat.com 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