我正在尝试将face_recognition安装到Windows Server2016。我的服务器没有互联网。
我做了什么
C:\Windows\system32>python -m pip install C:\faceRecognition2\dlib-19.8.1-cp36-cp36m-win_amd64.whl
Successfully
C:\Windows\system32>python -m pip install C:\faceRecognition2\wheel-0.33.6-py2.py3-none-any.whl
Successfully
C:\Windows\system32>python -m pip install C:\faceRecognition2\face_recognition-1.2.3-py2.py3-none-any.whl
Processing c:\facerecognition2\face_recognition-1.2.3-py2.py3-none-any.whl
Collecting numpy (from face-recognition==1.2.3)
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002957A18FCC0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/numpy/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002957A18F978>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/numpy/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002957A1BE048>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/numpy/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002957A1BEEB8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/numpy/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002957A1BEDA0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/numpy/
Could not find a version that satisfies the requirement numpy (from face-recognition==1.2.3) (from versions: )
No matching distribution found for numpy (from face-recognition==1.2.3)