tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Confused about python, setuptools, pip, SSL/TLS...



Hi,

What's even going on here? This has nothing to do with certs, so I wouldn't even know what to do about the need TLS/SSL, no ssl module chicken and egg issue.

devel/py-setuptools:

=> Generating pre-install file lists
cd /usr/pkgsrc/devel/py-setuptools/work/setuptools-69.0.2 && PYTHONPATH=/usr/pkgsrc/devel/py-setuptools/work/.home/.local/lib/python3.11/site-packages /usr/local/bin/python3.11 -m pip install --no-cache-dir --no-deps --disable-pip-version-check --root /usr/pkgsrc/devel/py-setuptools/work/.destdir --prefix /usr/local --compile --force-reinstall -I . WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Processing /usr/pkgsrc/devel/py-setuptools/work/setuptools-69.0.2
  Getting requirements to build wheel ... done
  Installing backend dependencies ... error
  error: subprocess-exited-with-error

pip subprocess to install backend dependencies did not run successfully.
   exit code: 1
  > [9 lines of output]
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/ Could not fetch URL https://pypi.org/simple/wheel/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/wheel/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping ERROR: Could not find a version that satisfies the requirement wheel (from versions: none)
      ERROR: No matching distribution found for wheel
      [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

 pip subprocess to install backend dependencies did not run successfully.
 exit code: 1
See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/devel/py-setuptools
*** Error code 1

John


Home | Main Index | Thread Index | Old Index