[edk2-devel] Python368.efi failed to run in shell environment

Jayaprakash, N n.jayaprakash at intel.com
Tue Oct 18 09:04:42 UTC 2022


Hi Yoshinoya,

Could you provide some details about the platform on which you are trying to run?
What tools you used for building the Python interpreter?

If you could raise a bug with relevant details, we can take a look at this issue.

Regards,
JP

From: Yoshinoya <yoshinoyatoko at 163.com>
Sent: 11 October 2022 15:51
To: Kinney, Michael D <michael.d.kinney at intel.com>
Cc: devel at edk2.groups.io; Jayaprakash, N <n.jayaprakash at intel.com>
Subject: Re:RE: [edk2-devel] Python368.efi failed to run in shell environment

Hi, JP:
It seems PyImport_ImportModule("encoding.utf_8") failed.
Do you have any suggestions?

THank you very much!



best wishes,







At 2022-10-06 00:28:46, "Kinney, Michael D" <michael.d.kinney at intel.com<mailto:michael.d.kinney at intel.com>> wrote:
+JP

Mike

From: devel at edk2.groups.io<mailto:devel at edk2.groups.io> <devel at edk2.groups.io<mailto:devel at edk2.groups.io>> On Behalf Of Yoshinoya
Sent: Wednesday, October 5, 2022 4:32 AM
To: devel at edk2.groups.io<mailto:devel at edk2.groups.io>
Subject: [edk2-devel] Python368.efi failed to run in shell environment

Hi
I tried to run Python368.efi in shell environment.
but failed, the tips was;
Fatal Python error: Py_Initialize: can't initialize sys standard streams

Does anybody have ever met this error?

Python368.efi is a sample python app in AppPkg\Applications\Python\Python-3.6.8

Thanks



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#95314): https://edk2.groups.io/g/devel/message/95314
Mute This Topic: https://groups.io/mt/94136700/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20221018/8449b860/attachment.htm>


More information about the edk2-devel-archive mailing list