public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Jayaprakash, N" <n.jayaprakash@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"chesignup@gmail.com" <chesignup@gmail.com>
Subject: Re: [edk2-devel] Python368 socket support #includes
Date: Thu, 1 Sep 2022 04:48:52 +0000	[thread overview]
Message-ID: <PH7PR11MB5943B33CFF83A9BFCB4FDA5EEE7B9@PH7PR11MB5943.namprd11.prod.outlook.com> (raw)
In-Reply-To: <M0Vg.1661883644081265679.4yx9@groups.io>

[-- 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 --]

      reply	other threads:[~2022-09-01  4:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30 18:20 Python368 socket support #includes chesignup
2022-09-01  4:48 ` Jayaprakash, N [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PH7PR11MB5943B33CFF83A9BFCB4FDA5EEE7B9@PH7PR11MB5943.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox