My computer does not have network connectivity and I need to install dnspython as explained in here
So I
- Downloaded the
dnspython-2.6.1.tar.gz
- Tried to install using:
pip install dnspython-2.6.1.tar.gz
The installation fails because it is unable to install hatchling
. Here is the output:
# /opt/VRTSnas/python/venv/bin/pip install hatchling-1.24.2.tar.gz
Processing ./hatchling-1.24.2.tar.gz
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
╰─> [7 lines of output]
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1a9dd4de90>: Failed to establish a new connection: [Errno 16] Device or resource busy')': /simple/pluggy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1a99825250>: Failed to establish a new connection: [Errno 16] Device or resource busy')': /simple/pluggy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1a99825890>: Failed to establish a new connection: [Errno 16] Device or resource busy')': /simple/pluggy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1a99826790>: Failed to establish a new connection: [Errno 16] Device or resource busy')': /simple/pluggy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1a998273d0>: Failed to establish a new connection: [Errno 16] Device or resource busy')': /simple/pluggy/
ERROR: Could not find a version that satisfies the requirement pluggy>=1.0.0 (from versions: none)
ERROR: No matching distribution found for pluggy>=1.0.0
[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.
But if I check on another computer for dependencies, the dnspython
package does not seem to require hatchling
pip show dnspython
Name: dnspython
Version: 2.6.1
Summary: DNS toolkit
Home-page:
Author:
Author-email: Bob Halley <[email protected]>
License:
Location: C:UsersfooAppDataLocalProgramsPythonPython311Libsite-packages
Requires:
Required-by:
I tried to download hatchling-1.24.2.tar.gz
and pip install
but it further seems to depend on a package named pluggy
Any tips to resolve this issue?