[英]Could not find a version that satisfies the requirement tensorflow-gpu==1.7.0
I'm trying to install tensorflow-gpu ver.我正在尝试安装 tensorflow-gpu 版本。 1.7.0 on a virtual environment using pip. My python version is 2.7.12, and my OS is Scientific Linux ver.
1.7.0 在使用 pip 的虚拟环境上。我的 python 版本是 2.7.12,我的操作系统是 Scientific Linux ver. 7.4 (Nitrogen).
7.4(氮气)。 When I try the following
当我尝试以下操作时
pip install tensorflow-gpu==1.7.0
I get the following errors:我收到以下错误:
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
Help?帮助?
If如果
$ python2 -c "from pip._internal.pep425tags import get_supported; print(get_supported()[0])"
returns cp27-cp27m-manylinux2014_x86_64
, it means that your distro ships Python 2.7 compiled without wide unicode support.返回
cp27-cp27m-manylinux2014_x86_64
,这意味着您的发行版 Python 2.7 编译时没有广泛的 unicode 支持。 tensorflow
supports only Python 2.7 compiled with wide unicode support (tag cp27-cp27mu-...
), is thus not installable with the default Python 2.7. tensorflow
仅支持 Python 2.7,编译时支持广泛的 unicode(标签cp27-cp27mu-...
),因此无法使用默认的 Python 2.7 安装。 Either switch to Python 3 (supports wide unicode by default), or compile Python 2.7 from source, passing the --enable-unicode=ucs4
to configure
script.要么切换到 Python 3(默认支持宽 unicode),要么从源代码编译 Python 2.7,传递
--enable-unicode=ucs4
来configure
脚本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.