之前安裝dali這個庫的時候,都是按照官網的方法安裝,但這幾天想在新機器上安裝時,一直報錯
Looking in indexes: https://pypi.org/simple, https://developer.download.nvidia.com/compute/redist/ 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 0x7f951bd14c88>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/nvidia-dali-cuda110/
好像是網絡問題,但無論有沒有kexue上網,還是無法下載安裝,於是在網上找到了源碼,下載到機器上,直接
pip install XXX
安裝成功
