我试图安装tensorflow,我每次都得到这个错误:
pip install tensorflow
Collecting tensorflow
Downloading tensorflow-2.11.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (588.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━━━━━━━ 434.8/588.3 MB 393.6 kB/s eta 0:06:30
ERROR: Wheel 'tensorflow' located at /tmp/pip-unpack-pgidfwwg/tensorflow-2.11.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is invalid.
我尝试了旧版本,但仍然得到相同的错误。
pip install tensorflow==2.10.0
我有ryzen华硕笔记本电脑与amd radeon显卡运行64位ubuntu 22.04.01 LTS
可以使用PIP安装tensorflow-gpu -i https://pypi.tuna.tsinghua.edu.cn.