From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Rouven Czerwinski Date: Thu, 16 Jul 2020 10:08:41 +0200 Message-Id: <20200716080840.2963-1-r.czerwinski@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v2] 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 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