Hi Sunny, EDK II only formally supports Python 3 now because Python 2 is EOL with no support. So I’d suggest BaseTools users switch Python2 to Python3.
Thanks, Bob From: gaoliming <[email protected]> Sent: Monday, September 6, 2021 9:10 AM To: [email protected]; [email protected]; Feng, Bob C <[email protected]>; Chen, Christine <[email protected]>; 'Cole Robinson' <[email protected]> Cc: 'Sami Mujawar' <[email protected]>; 'Samer El-Haj-Mahmoud' <[email protected]>; 'Gerd Hoffmann' <[email protected]> Subject: 回复: [edk2-devel] Python2.7 is not working with the EDK2 build system Sunny: If Robinson has no response, I suggest to revert this change first. Robinson: Can you give your fix plan for this regression issue? Thanks Liming 发件人: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> 代表 Sunny Wang 发送时间: 2021年9月4日 2:09 收件人: Feng, Bob C <[email protected]<mailto:[email protected]>>; Liming Gao <[email protected]<mailto:[email protected]>>; Yuwei Chen <[email protected]<mailto:[email protected]>>; Cole Robinson <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> 抄送: Sunny Wang <[email protected]<mailto:[email protected]>>; Sami Mujawar <[email protected]<mailto:[email protected]>>; Samer El-Haj-Mahmoud <[email protected]<mailto:[email protected]>> 主题: [edk2-devel] Python2.7 is not working with the EDK2 build system Hi all, I just ran into this build issue. After checking the edk2 emails, I saw some of you already ran into this build issue as well. At least, I saw two email threads below talking about this issue. https://edk2.groups.io/g/devel/message/80068?p=,,,20,0,0,0::recentpostdate%252Fsticky,,python,20,2,0,85296733 https://edk2.groups.io/g/devel/message/79022?p=,,,20,0,0,0::recentpostdate%2525252Fsticky,,DeprecationWarnings,20,2,0,84409128 The main purpose of this email is to have obvious email subject to get people’s attention, so that people won’t spend time to check this when running into this issue. The solution at this moment is to use Python 3 instead (Use “export PYTHON_COMMAND=/usr/bin/python3” instead of “export PYTHON_COMMAND=/usr/bin/python”). Hi Robinson, Are you working on this now? If you’re busy with other things, how about we revert your patch first? Hi Bob, Liming, and Yuwei, What do you prefer to do at this moment? Wait for Robinson? or revert the change? Best Regards, Sunny IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#80261): https://edk2.groups.io/g/devel/message/80261 Mute This Topic: https://groups.io/mt/85408575/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
