简体   繁体   English

pycharm 无法在 Windows 10 上安装 Tensorflow

[英]pycharm can't install Tensorflow on windows 10

I try to我试着

pip install --user --upgrade pip

pip install tensorflow

pip3 install tensorflow

Terminal终端

Add python interpreter添加python解释器

Settings设置

RunDebugConfigurations运行调试配置

Available packages Collecting tensorflow Could not find a version that satisfies the requirement tensorflow (from versions: ) No matching distribution found for tensorflow enter image description here可用包收集 tensorflow 找不到满足 tensorflow 要求的版本(来自版本:)未找到与 tensorflow 匹配的分布 在此处输入图像描述

Ravisut,拉维苏,

You seem to be entering right commands.您似乎正在输入正确的命令。 Based on your inputs it looks like you have a 32-bit Python version installed.根据您的输入,您似乎安装了 32 位 Python 版本。 Tensorflow is only supported on Python 64-bit. Tensorflow 仅在 Python 64 位上受支持。 So install the 64-bit version of Python and try again.所以安装 64 位版本的 Python 并重试。

After that if you still have issues - try this thread: TensorFlow not found using pip之后,如果您仍然有问题 - 试试这个线程: TensorFlow not found using pip

In particular, try installing with whl file: python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.1.0-cp37-cp37m-manylinux2010_x86_64.whl特别是,尝试使用 whl 文件安装:python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.1.0-cp37-cp37m-manylinux2010_x86_64.whl
you may need to pick relevant TF version () here: https://www.tensorflow.org/install/pip您可能需要在此处选择相关的 TF 版本 (): https : //www.tensorflow.org/install/pip

install Python 3.7 64-bit and pip install tensorflow ...are Successfully安装 Python 3.7 64 位和 pip install tensorflow ...都成功了

enter image description here在此处输入图片说明

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

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