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 chesignup@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