之前安装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
安装成功