Scenario: PyOD Installation Using Archives on RHEL 7 We tried to install 'pyod' using the .TAR file. pip install pyod-0.7.8.2.tar.gz It has dependency on 'combo', specifically combo-0.1.0.tar.gz pip install combo-0.1.0.tar.gz ISSUE: We notice that we are at a deadend with cyclic dependencies between these two packages. See the logs below: (base) [admin@MASTER downloads]$ pip install pyod-0.7.8.2.tar.gz Processing ./pyod-0.7.8.2.tar.gz WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f86a372d590>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/combo/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f86a3779350>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/combo/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f86a3779190>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/combo/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f86a3779650>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/combo/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f86a3779790>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/combo/ ERROR: Could not find a version that satisfies the requirement combo (from pyod==0.7.8.2) (from versions: none) ERROR: No matching distribution found for combo (from pyod==0.7.8.2) (base) [admin@MASTER downloads]$ pip install combo-0.1.0.tar.gz Processing ./combo-0.1.0.tar.gz Requirement already satisfied: joblib in /home/admin/anaconda3/lib/python3.7/site-packages (from combo==0.1.0) (0.14.1) Requirement already satisfied: matplotlib in /home/admin/anaconda3/lib/python3.7/site-packages (from combo==0.1.0) (3.1.3) Requirement already satisfied: numpy>=1.13 in /home/admin/anaconda3/lib/python3.7/site-packages (from combo==0.1.0) (1.18.1) Requirement already satisfied: numba>=0.35 in /home/admin/anaconda3/lib/python3.7/site-packages (from combo==0.1.0) (0.48.0) WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f2d59559e90>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pyod/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f2d5958bf90>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pyod/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f2d5958b5d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pyod/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f2d5958b390>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pyod/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f2d5958b950>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pyod/ ERROR: Could not find a version that satisfies the requirement pyod (from combo==0.1.0) (from versions: none) ERROR: No matching distribution found for pyod (from combo==0.1.0) Result: Installation of PyOD failed. Dated: May 2020
A case of cyclic dependencies between PyPI packages
Subscribe to:
Posts (Atom)
No comments:
Post a Comment