安装命令
- 报错: ERROR: Cannot unpack file C:\Users\lenovo\AppData\Local\Temp\pip-unpack-mdiptqlf\simple.html (downloaded from C:\Users\lenovo\AppData\Local\Temp\pip-req-build-oq32e170, content-type: text/html); cannot detect archive format
- 解决方法 pip install tensorflow-cpu==2.6.0 -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn pymysql
报错: ERROR: Cannot unpack file C:\Users\lenovo\AppData\Local\Temp\pip-unpack-mdiptqlf\simple.html (downloaded from C:\Users\lenovo\AppData\Local\Temp\pip-req-build-oq32e170, content-type: text/html); cannot detect archive format
ERROR: Cannot determine archive format of C:\Users\lenovo\AppData\Local\Temp\pip-req-build-oq32e170

解决方法 pip install tensorflow-cpu==2.6.0 -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn pymysql

在尝试使用pip安装tensorflow-cpu版本2.6.0时,用户遇到了一个错误,错误信息提到无法解压缩文件并检测到档案格式。为了解决这个问题,建议用户使用指定的清华镜像源重新安装,并添加--trusted-host参数。

1844

被折叠的 条评论
为什么被折叠?



