ERROR: Cannot unpack file C:\Users\ADMINI~1\AppData\Local\Temp\pip-unpack-t6nl10mn\simple

指定源时要加上 "-i" 而不是"i"

(win_onnx) C:\Users\Administrator>pip install onnxruntime==1.2.0 i https://pypi.douban.com/simple
Collecting https://pypi.douban.com/simple
  Using cached https://pypi.douban.com/simple (17.4 MB)
  ERROR: Cannot unpack file C:\Users\ADMINI~1\AppData\Local\Temp\pip-unpack-t6nl10mn\simple (downloaded from C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-xoudvjav, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-xoudvjav

(win_onnx) C:\Users\Administrator>pip install onnxruntime==1.2.0 -i https://pypi.douban.com/simple

 

你可能感兴趣的:(Debug)