From: Rouven Czerwinski <[email protected]>

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 <[email protected]>
---
 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
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to