pip安装pymssql报错解决
pip安装命令
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pymssql
报错内容
ERROR: Cannot unpack file C:\Users\WDY\AppData\Local\Temp\pip-unpack-omb42fhl\simple.html (downloaded from C:\Users\WDY\AppData\Local\Temp\pip-req-build-lj_4f9cw, content-type: text/html); cannot detect archive format
ERROR: Cannot determine archive format of C:\Users\WDY\AppData\Local\Temp\pip-req-build-lj_4f9cw
解决办法
将 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pymssql命令换成
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn pymssql
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn pymssql