public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Python368 socket support #includes
@ 2022-08-30 18:20 chesignup
  2022-09-01  4:48 ` [edk2-devel] " Jayaprakash, N
  0 siblings, 1 reply; 2+ messages in thread
From: chesignup @ 2022-08-30 18:20 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 447 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [edk2-devel] Python368 socket support #includes
  2022-08-30 18:20 Python368 socket support #includes chesignup
@ 2022-09-01  4:48 ` Jayaprakash, N
  0 siblings, 0 replies; 2+ messages in thread
From: Jayaprakash, N @ 2022-09-01  4:48 UTC (permalink / raw)
  To: devel@edk2.groups.io, chesignup@gmail.com

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 3323 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-01  4:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-30 18:20 Python368 socket support #includes chesignup
2022-09-01  4:48 ` [edk2-devel] " Jayaprakash, N

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox