python - 在 Windows 上安装 tensorflow 的问题
问题描述
我正在尝试在我的 Windows 电脑上安装 TensorFlow。我一直无法找到解决我的问题的解决方案。
我目前正在运行 python 3.8 64 位(pip 19.0.3)。尝试使用安装时pip install tensorflow==2.4.0
,出现错误
Could not find a version that satisfies the requirement tensorflow==2.4.0 (from versions: ) No matching distribution found for tensorflow==2.4.0
我已经尝试过仅对 GPU 和 CPU 使用直接包位置的方法:
pip install https://storage.
googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-2.4.0-cp38-cp38-win_amd64.whl
现在得到错误
tensorflow_gpu-2.4.0-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
我的系统是带有英特尔 i5 和 geforce 显卡的 x64。我还安装了 Visual Studios C++。
解决方案
你试过这个吗?:
pip install tensorflow