赞
踩
(tf2) C:\Users\hello>pip install tensorflow_gpu==2.9.0 https://pypi.tuna.tsinghua.edu.cn/simple
Collecting https://pypi.tuna.tsinghua.edu.cn/simple
Using cached https://pypi.tuna.tsinghua.edu.cn/simple (34.6 MB)
ERROR: Cannot unpack file C:\Users\hello\AppData\Local\Temp\pip-unpack-wnm1031k\simple.html (downloaded from C:\Users\hello\AppData\Local\Temp\pip-req-build-cz2gbroe, content-type: text/html); cannot detect archive format
ERROR: Cannot determine archive format of C:\Users\hello\AppData\Local\Temp\pip-req-build-cz2gbroe
在尝试安装 TensorFlow GPU 版本时遇到了问题。
根据错误信息,这是一个常见的问题,通常与pip无法识别或解压缩下载的文件有关。为了解决这个问题,下面制定一个逐步的计划:
pip cache purge
。pip install --upgrade pip
来更新pip。pip install tensorflow-gpu==2.9.0
。Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。