[英]How to fix : ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==1.14.0 (from versions: none)
[英]Could not find a version that satisfies the requirement tensorflow-gpu==1.7.0
我正在尝试安装 tensorflow-gpu 版本。 1.7.0 在使用 pip 的虚拟环境上。我的 python 版本是 2.7.12,我的操作系统是 Scientific Linux ver. 7.4(氮气)。 当我尝试以下操作时
pip install tensorflow-gpu==1.7.0
我收到以下错误:
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==1.7.0 (from versions: none)
ERROR: No matching distribution found for tensorflow-gpu==1.7.0
帮助?
如果
$ python2 -c "from pip._internal.pep425tags import get_supported; print(get_supported()[0])"
返回cp27-cp27m-manylinux2014_x86_64
,这意味着您的发行版 Python 2.7 编译时没有广泛的 unicode 支持。 tensorflow
仅支持 Python 2.7,编译时支持广泛的 unicode(标签cp27-cp27mu-...
),因此无法使用默认的 Python 2.7 安装。 要么切换到 Python 3(默认支持宽 unicode),要么从源代码编译 Python 2.7,传递--enable-unicode=ucs4
来configure
脚本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.