简体   繁体   English

找不到满足要求的版本 tensorflow-gpu==1.7.0

[英]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=ucs4configure脚本。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何修复:错误:找不到满足tensorflow-gpu == 1.14.0要求的版本(来自版本:无) - How to fix : ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==1.14.0 (from versions: none) 找不到满足tensorflow> = 1.7.0的版本(来自版本:)找不到与tensorflow> = 1.7.0匹配的分布 - Could not find a version that satisfies the requirement tensorflow>=1.7.0 (from versions: ) No matching distribution found for tensorflow>=1.7.0 找不到满足要求的版本 tensorflow - Could not find a version that satisfies the requirement tensorflow 找不到满足tensorflow == 1.0.1要求的版本? - Could not find a version that satisfies the requirement tensorflow==1.0.1? Tensorflow r1.0:找不到满足张量流要求的版本 - Tensorflow r1.0 : could not a find a version that satisfies the requirement tensorflow 在Heroku中找不到满足要求tensorflow == 1.0.0的版本 - Could not find a version that satisfies the requirement tensorflow==1.0.0 in Heroku 错误:找不到满足要求 tensorflow==1.14.0 的版本 - ERROR: Could not find a version that satisfies the requirement tensorflow==1.14.0 错误:找不到满足要求的版本 tensorflow==1.15(Windows 终端) - ERROR: Could not find a version that satisfies the requirement tensorflow==1.15 (Windows Terminal) Raspberry Pi 上的“错误:找不到满足要求 tensorflow 的版本” - “ERROR: Could not find a version that satisfies the requirement tensorflow” on Raspberry Pi 错误:找不到满足 tensorflow 要求的版本(来自版本:无) - ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM