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已经安装成功

猜你喜欢

转载自www.cnblogs.com/Irvingcode/p/12010154.html