zoukankan      html  css  js  c++  java
  • Windows下Pycharm安装Tensorflow:ERROR: Could not find a version that satisfies the requirement tensorflow

    今天在Windows下通过Pycharm安装Tensorflow时遇到两个问题:

    使用pip安装其实原理都相同,只不过Pycharm是图形化的过程!

    1、由于使用国外源总是导致Timeout

    解决方法是在Pycharm中添加清华源 https://mirrors.aliyun.com/pypi/simple/(或者其他的国内源)

    2、替换成清华源后安装报错:

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

    产生原因:

    1. Tensoflow仅仅支持Python 3.5和Python 3.6。
    2. Tensoflow仅仅支持64位版本的Python。

    解决方法:安装对应版本的Python

    可以看到Tensorflow已经安装成功

    有个问题是这样通过Pycharm安装默认是2.0.0版本,我在Pycharm中没有看到选择安装版本的功能,如果需要安装1.x.x版本的可以在命令行用pip安装:

    pip3 install tensorflow==1.13.1 -i https://pypi.tuna.tsinghua.edu.cn/simple

  • 相关阅读:
    HDU
    HDU
    (4)数据--相似性与相异性
    (3)数据--操作
    (2)数据--基本概念
    五、按生命周期划分数据(二)
    五、常用数据类型(一)
    四、坏耦合的原因与解耦(三)
    四、强化耦合(二)
    四、初识耦合(一)
  • 原文地址:https://www.cnblogs.com/Irvingcode/p/12010154.html
Copyright © 2011-2022 走看看