今天要在ananconda3 下安装Keras & TensorFlow 结果第一个很顺利,但是第二个的时候就报错了

[root@worker01 bin]# ./pip3.6  install tensorflow

Collecting tensorflow

Using cached https://files.pythonhosted.org/packages/22/c6/d08f7c549330c2acc1b18b5c1f0f8d9d2af92f54d56861f331f372731671/tensorflow-1.8.0-cp36-cp36m-manylinux1_x86_64.whl

Requirement already satisfied: six>=1.10.0 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (1.10.0)

Requirement already satisfied: absl-py>=0.1.6 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (0.2.2)

Requirement already satisfied: gast>=0.2.0 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (0.2.0)

Requirement already satisfied: protobuf>=3.4.0 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (3.5.2.post1)

Requirement already satisfied: astor>=0.6.0 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (0.6.2)

Requirement already satisfied: termcolor>=1.1.0 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (1.1.0)

Requirement already satisfied: wheel>=0.26 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (0.29.0)

Requirement already satisfied: grpcio>=1.8.6 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (1.12.0)

Collecting tensorboard<1.9.0,>=1.8.0 (from tensorflow)

Using cached https://files.pythonhosted.org/packages/59/a6/0ae6092b7542cfedba6b2a1c9b8dceaf278238c39484f3ba03b03f07803c/tensorboard-1.8.0-py3-none-any.whl

Requirement already satisfied: numpy>=1.13.3 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (1.13.3)

Requirement already satisfied: setuptools in /opt/anaconda3/lib/python3.6/site-packages (from protobuf>=3.4.0->tensorflow) (36.5.0.post20180212)

Collecting bleach==1.5.0 (from tensorboard<1.9.0,>=1.8.0->tensorflow)

Using cached https://files.pythonhosted.org/packages/33/70/86c5fec937ea4964184d4d6c4f0b9551564f821e1c3575907639036d9b90/bleach-1.5.0-py2.py3-none-any.whl

Collecting html5lib==0.9999999 (from tensorboard<1.9.0,>=1.8.0->tensorflow)

Requirement already satisfied: markdown>=2.6.8 in /opt/anaconda3/lib/python3.6/site-packages (from tensorboard<1.9.0,>=1.8.0->tensorflow) (2.6.11)

Requirement already satisfied: werkzeug>=0.11.10 in /opt/anaconda3/lib/python3.6/site-packages (from tensorboard<1.9.0,>=1.8.0->tensorflow) (0.12.2)

Installing collected packages: html5lib, bleach, tensorboard, tensorflow

Found existing installation: html5lib 0.999999999

Cannot remove entries from nonexistent file /opt/anaconda3/lib/python3.6/site-packages/easy-install.pth

更新 tensorflow 到 Version: 1.0.0 时,必须要先更新 setuptools

先更新 esay_install –-upgrade setuptools 成功了

[root@worker01 bin]# ./easy_install --upgrade setuptools

Searching for setuptools

Reading https://pypi.python.org/simple/setuptools/

Downloading https://files.pythonhosted.org/packages/1a/04/d6f1159feaccdfc508517dba1929eb93a2854de729fa68da9d5c6b48fa00/setuptools-39.2.0.zip#sha256=f7cddbb5f5c640311eb00eab6e849f7701fa70bf6a183fc8a2c33dd1d1672fb2

Best match: setuptools 39.2.0

Processing setuptools-39.2.0.zip

Writing /tmp/easy_install-dcf2xle9/setuptools-39.2.0/setup.cfg

Running setuptools-39.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-dcf2xle9/setuptools-39.2.0/egg-dist-tmp-eiiyc4hm

/opt/anaconda3/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'project_urls'

warnings.warn(msg)

Moving setuptools-39.2.0-py3.6.egg to /opt/anaconda3/lib/python3.6/site-packages

Adding setuptools 39.2.0 to easy-install.pth file

Installing easy_install script to /opt/anaconda3/bin

Installing easy_install-3.6 script to /opt/anaconda3/bin

Installed /opt/anaconda3/lib/python3.6/site-packages/setuptools-39.2.0-py3.6.egg

Processing dependencies for setuptools

Finished processing dependencies for setuptools

然后在安装./pip install tensorflow

[root@worker01 bin]# ./pip3.6  install tensorflow

Collecting tensorflow

Using cached https://files.pythonhosted.org/packages/22/c6/d08f7c549330c2acc1b18b5c1f0f8d9d2af92f54d56861f331f372731671/tensorflow-1.8.0-cp36-cp36m-manylinux1_x86_64.whl

Requirement already satisfied: grpcio>=1.8.6 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (1.12.0)

Requirement already satisfied: numpy>=1.13.3 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (1.13.3)

Requirement already satisfied: wheel>=0.26 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (0.29.0)

Requirement already satisfied: six>=1.10.0 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (1.10.0)

Requirement already satisfied: gast>=0.2.0 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (0.2.0)

Requirement already satisfied: termcolor>=1.1.0 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (1.1.0)

Requirement already satisfied: protobuf>=3.4.0 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (3.5.2.post1)

Requirement already satisfied: astor>=0.6.0 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (0.6.2)

Collecting tensorboard<1.9.0,>=1.8.0 (from tensorflow)

Using cached https://files.pythonhosted.org/packages/59/a6/0ae6092b7542cfedba6b2a1c9b8dceaf278238c39484f3ba03b03f07803c/tensorboard-1.8.0-py3-none-any.whl

Requirement already satisfied: absl-py>=0.1.6 in /opt/anaconda3/lib/python3.6/site-packages (from tensorflow) (0.2.2)

Requirement already satisfied: setuptools in /opt/anaconda3/lib/python3.6/site-packages (from protobuf>=3.4.0->tensorflow) (36.5.0.post20180212)

Collecting bleach==1.5.0 (from tensorboard<1.9.0,>=1.8.0->tensorflow)

Using cached https://files.pythonhosted.org/packages/33/70/86c5fec937ea4964184d4d6c4f0b9551564f821e1c3575907639036d9b90/bleach-1.5.0-py2.py3-none-any.whl

Requirement already satisfied: werkzeug>=0.11.10 in /opt/anaconda3/lib/python3.6/site-packages (from tensorboard<1.9.0,>=1.8.0->tensorflow) (0.12.2)

Requirement already satisfied: markdown>=2.6.8 in /opt/anaconda3/lib/python3.6/site-packages (from tensorboard<1.9.0,>=1.8.0->tensorflow) (2.6.11)

Collecting html5lib==0.9999999 (from tensorboard<1.9.0,>=1.8.0->tensorflow)

Installing collected packages: html5lib, bleach, tensorboard, tensorflow

Found existing installation: html5lib 0.999999999

Uninstalling html5lib-0.999999999:

Successfully uninstalled html5lib-0.999999999

Found existing installation: bleach 2.0.0

Uninstalling bleach-2.0.0:

Successfully uninstalled bleach-2.0.0

Successfully installed bleach-1.5.0 html5lib-0.9999999 tensorboard-1.8.0 tensorflow-1.8.0

[root@worker01 bin]# ./pip show tensorflow

Name: tensorflow

Version: 1.8.0

Summary: TensorFlow helps the tensors flow

Home-page: https://www.tensorflow.org/

Author: Google Inc.

Author-email: opensource@google.com

License: Apache 2.0

Location: /opt/anaconda3/lib/python3.6/site-packages

Requires: termcolor, astor, protobuf, gast, six, tensorboard, wheel, numpy, grpcio, absl-py

Required-by:

[root@worker01 bin]# ./pip show keras

Name: Keras

Version: 2.1.6

Summary: Deep Learning for humans

Home-page: https://github.com/keras-team/keras

Author: Francois Chollet

Author-email: francois.chollet@gmail.com

License: MIT

Location: /opt/anaconda3/lib/python3.6/site-packages

Requires: six, h5py, scipy, pyyaml, numpy

Required-by:

转载于:https://blog.51cto.com/laobaiv1/2123434

anaconda3 安装tensorflow 报Cannot remove entries fro相关推荐

  1. anconda安装后命令行中安装tensorflow报错

    现象  anconda安装后命令行中安装tensorflow报错 pip install --upgrade --ignore-installed tensorflow-gpu Building wh ...

  2. 用pip安装tensorflow报错SyntaxError: invalid syntax

    用pip安装tensorflow报错SyntaxError: invalid syntax 解决办法:直接在cmd中输入安装语句

  3. Ubuntu安装tensorflow报错:tensorflow-xx.whl not a supported wheel on this platform

    解决Ubuntu安装tensorflow报错:tensorflow-0.5.0-cp27-none-linux_x86_64.whl is not a supported wheel on this ...

  4. 【已解决】Python安装TensorFlow报错“Consider adding this directory to PATH or, if you prefer to suppress this

    [已解决]Python安装TensorFlow报错"Consider adding this directory to PATH or, if you prefer to suppress ...

  5. 安装tensorflow报错---CondaHTTPError: HTTP 000 CONNECTION FAILED for url

    安装tensorflow报CondaHTTPError: HTTP 000 CONNECTION FAILED for url错,有两种方案: 1.tensorflow下载源太慢,超出链接时长,解决办 ...

  6. pip安装tensorflow报错:could not find a version that satisfies the requirement grpcio>=1.8.6

    pip安装tensorflow报错:could not find a version that satisfies the requirement grpcio>=1.8.6 (venv) D: ...

  7. Anaconda3安装tensorflow 2.0版本cpu和gpu安装,Win10系统

    tensorflow是在anaconda上安装的,所以先安装anconda 一.安装anaconda3 我安装的是这一个,anaconda自带python,所以不需要单独安装python 点击安装,一 ...

  8. 在win10中通过Anaconda3安装tensorflow

    安装Anaconda3,然后在所有程序中启动"Anaconda Navigator",如图: 切换到"Enviroments"(环境)中,在右边有个显示环境的列 ...

  9. Anaconda3安装tensorflow踩坑记录

    Anaconda3安装tensorflow2.2踩坑记录 本次安装是在py版本为3.6的虚拟环境下安装: 首先激活环境 activate py36(name) activate py36 然后下载 p ...

最新文章

  1. [PHP] debug_backtrace()可以获取到代码的调用路径追踪
  2. angularjs 日期倒计时效果
  3. 数控弯管机xyz转换ybc的算法_花了一年时间开发的三维弯管机交互式转档软件(三维管子模型UG,SOLIDWORK,PRO/E文件转成YBC)...
  4. learnpythonthehardway下载_LearnPythonTheHardWay学习笔记1:学习环境搭建
  5. C#中常用的几个委托
  6. 避坑指南!数据分析最容易被忽略的10个错误
  7. 挑战IPOD功能最强MP3——Zune二代评测
  8. CTFHUB Web题解记录(信息泄露、弱口令部分)
  9. ascii码值为负数_C语言编程基础学习字符型数据的ASCII码值为何是负数?
  10. 音频特征(2):时域图、频谱图、语谱图(时频谱图)
  11. mac 全局安装 Cz 工具【踩坑】
  12. IOS 后台运行 播放音乐
  13. 易语言如何调用c dll文件,易语言调用C++写的DLL
  14. SAP PI/PO登录使用及基本功能简介
  15. php 跳转qq群代码_Q群自动签到php+java实现
  16. 安装Redis和安装Redis Desktop Manager
  17. 蚂蚁金服西亭:智能金融的技术挑战与方案
  18. 登录EMC VNX5100存储管理界面报Java版本问题处理
  19. h5页面怎么处理文件流_一种H5页面效果生成视频文件的方法及系统与流程
  20. 模型评估指标(Confusion Matrix、ROC、AUC)

热门文章

  1. 当子元素用position:relative;时,父元素的overflow:hidden;在ie中失效的解决办法
  2. 7-104 6翻了 (15 分)
  3. 7-1 两个有序链表序列的合并 (15 分)
  4. qr二维码遇到的一些问题
  5. 栈的复习(加减乘除表达式求值)
  6. C语言手写自定义三维数组
  7. javascript常见面试题之一:将字符串'get-element-by-id'转换成驼峰命名法;
  8. ubuntu 18.04使用sysbench测试MySQL性能
  9. 【加密算法】Base64
  10. 计算机科学速成课18:操作系统