From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from magratgarlick.emantor.de ([2a01:4f8:c17:c88::2]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jvyOD-0004aa-2R for ptxdist@pengutronix.de; Thu, 16 Jul 2020 09:33:09 +0200 From: Rouven Czerwinski Date: Thu, 16 Jul 2020 09:33:05 +0200 Message-Id: <20200716073305.30457-1-r.czerwinski@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] python3: ensurepip requires hashlib/SSL List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Rouven Czerwinski From: Rouven Czerwinski 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 File "/usr/lib/python3.7/tempfile.py", line 45, in File "/usr/lib/python3.7/random.py", line 46, in ModuleNotFoundError: No module named 'hashlib' Signed-off-by: Rouven Czerwinski --- 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