输入语句:
pip install -i http://pypi.douban.com/simple/ scipy==1.2.0
报错如下:
Cannot unpack file /tmp/pip-unpack-img8xnm_/simple.htm (downloaded from /tmp/pip-req-build-no42ay7g, content-type: text/html); cannot detect archive format
Cannot determine archive format of /tmp/pip-req-build-no42ay7g
解决方法为改输入:
pip install scipy==1.2.0 -i https://pypi.douban.com/simple --trust -host=pypi.douban.com