在 Windows 7 上安装 TensorFlow - 'pip3' 不被识别为内部或外部命令, [英] Installation of TensorFlow on windows 7 - 'pip3' is not recognized as an internal or external command,

查看:25
本文介绍了在 Windows 7 上安装 TensorFlow - 'pip3' 不被识别为内部或外部命令,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

遵循安装 TensorFlow for Windows 指南时https://www.tensorflow.org/install/install_windows,执行后

When following the Installing TensorFlow for Windows guide https://www.tensorflow.org/install/install_windows, after executing

C:\> pip3 install --upgrade tensorflow

我收到以下错误:

'pip3' is not recognized as an internal or external command,

看起来根本无法识别 pip3(尽管设置了 python 的 PATH)

It looks like pip3 isn't recognized at all (although PATH to python is set)

推荐答案

运行以下内容

python -m pip install --upgrade tensorflow

假设 python 工作正常,TensorFlow 应该被安装(至少验证安装"步骤是绿色的).

Assuming python is working, TensorFlow should get installed (at least the "Validate the installation" step is green).

这篇关于在 Windows 7 上安装 TensorFlow - 'pip3' 不被识别为内部或外部命令,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆