ERROR: Cannot determine archive format of/tmp/pip-req-build-h5i7k08q
3106 단어 데일리 버그 시리즈
/opt/riscv# pip install scons https://mirrors.aliyun.com/pypi/simple
Collecting https://mirrors.aliyun.com/pypi/simple
Downloading https://mirrors.aliyun.com/pypi/simple (14.1 MB)
|████████████████████████████████| 14.1 MB 1.6 MB/s
ERROR: Cannot unpack file /tmp/pip-unpack-sxglz3oh/simple.html (downloaded from /tmp/pip-req-build-h5i7k08q, content-typ e: text/html); cannot detect archive format
ERROR: Cannot determine archive format of /tmp/pip-req-build-h5i7k08q
단지 다음과 같이 바꾸기만 하면 된다.
pip install -i https://pypi.douban.com/simple --trusted-host pypi.douban.com scons
설정 - trusted-host pypi.douban.com 이 미러 소스 신뢰