简体   繁体   English

PIP无法安装Tensorflow

[英]PIP Won't install Tensorflow

I'm trying to install tensorflow with pip, but every time I try I get this: 我正在尝试使用pip安装tensorflow,但是每次尝试都会得到以下信息:

pip3 install Tensorflow
Collecting Tensorflow
  ERROR: Could not find a version that satisfies the requirement Tensorflow 
(from versions: none)
ERROR: No matching distribution found for Tensorflow

What do I do? 我该怎么办? (I'm running Pip 19.2.2 on Windows 7 x64 if this info is needed) (如果需要此信息,我将在Windows 7 x64上运行Pip 19.2.2)

Try python3 -m pip install tensorflow 尝试python3 -m pip install tensorflow

Also tensorflow only supports 64 bit version Python, check that you have installed the correct version. 另外tensorflow仅支持64位版本的Python,请检查您是否安装了正确的版本。

Also, often times its easier to use a slightly older Python version together with Tensorflow. 而且,通常更容易将稍旧的Python版本与Tensorflow一起使用。 I have found installations of eg Python 3.6.x + tf to work more smoothly than 3.7.x. 我发现例如Python 3.6.x + tf的安装比3.7.x更流畅地工作。

pip install --upgrade tensorflow

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM