The socket module is not enabled in the Open source version of the Python UEFI interpreter available in edk2-libc. It needs some porting effort.
Regards, JP From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of chesig...@gmail.com Sent: 30 August 2022 23:51 To: devel@edk2.groups.io Subject: [edk2-devel] Python368 socket support #includes Hello Ive tried building python368 in edk2 environment and Ive came across some issues. I cant seem to be able to import urllib or socket in a uefi shell env. The error reads, import _socket fails because _socket does not exist. Can anyone please provide a full guide on how to build python368 or miceopython with socket support on ubuntu 20 or 22 ? Is this a bug ? Thank you very much -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#93023): https://edk2.groups.io/g/devel/message/93023 Mute This Topic: https://groups.io/mt/93356814/21656 Mute #includes:https://edk2.groups.io/g/devel/mutehashtag/includes Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-