mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Subject: [ptxdist] [PATCH v2] python3: ensurepip requires hashlib/SSL
Date: Thu, 16 Jul 2020 10:08:41 +0200	[thread overview]
Message-ID: <20200716080840.2963-1-r.czerwinski@pengutronix.de> (raw)

Otherwise ensurepip fails with the following error:

  Traceback (most recent call last):
    File "/usr/lib/python3.7/runpy.py", line 183, in _run_module_as_main
    File "/usr/lib/python3.7/runpy.py", line 142, in _get_module_details
    File "/usr/lib/python3.7/runpy.py", line 109, in _get_module_details
    File "/usr/lib/python3.7/__init__.py", line 5, in <module>
    File "/usr/lib/python3.7/tempfile.py", line 45, in <module>
    File "/usr/lib/python3.7/random.py", line 46, in <module>
  ModuleNotFoundError: No module named 'hashlib'

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
---
 rules/python3.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/python3.in b/rules/python3.in
index f02312c92..61ecc972e 100644
--- a/rules/python3.in
+++ b/rules/python3.in
@@ -65,6 +65,7 @@ config PYTHON3_DISTUTILS
 	prompt "Include distutils packages"
 
 config PYTHON3_ENSUREPIP
+	select PYTHON3_SSL
 	bool
 	prompt "Include bundled pip"
 
-- 
2.27.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

             reply	other threads:[~2020-07-16  8:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-16  8:08 Rouven Czerwinski [this message]
2020-07-17 11:57 ` [ptxdist] [APPLIED] " Michael Olbrich

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-all 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=20200716080840.2963-1-r.czerwinski@pengutronix.de \
    --to=r.czerwinski@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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