1.错误信息

DEPENDENCY ERROR

The target you are trying to run requires an OpenSSL implementation.
Your system doesn't have one, and either the third_party directory
doesn't have it, or your compiler can't build BoringSSL.

Please consult INSTALL to get more information.

If you need information about why these tests failed, run:

make run_dep_checks

make: Circular /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libares.a <- /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libz.a dependency dropped.
make: Circular /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libaddress_sorting.a <- /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libz.a dependency dropped.
make: Circular /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libaddress_sorting.a <- /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libares.a dependency dropped.
make: *** [stop] Error 1

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/setup.py", line 310, in <module>
cmdclass=COMMAND_CLASS,
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 179, in run
self.run_command('build')
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/site-packages/setuptools/command/build_ext.py", line 66, in run
_build_ext.run(self)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/src/python/grpcio/commands.py", line 278, in build_extensions
raise Exception("make command failed!")
Exception: make command failed!

----------------------------------------
Failed building wheel for grpcio
Running setup.py clean for grpcio
Failed to build grpcio
Installing collected packages: grpcio
Running setup.py install for grpcio ... error
Complete output from command /usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-record-EQ9Egf/install-record.txt --single-version-externally-managed --compile:
Found cython-generated files...
running install
running build
running build_py
running build_project_metadata
creating python_build
creating python_build/lib.macosx-10.11-x86_64-2.7
creating python_build/lib.macosx-10.11-x86_64-2.7/grpc
copying src/python/grpcio/grpc/__init__.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc
copying src/python/grpcio/grpc/_auth.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc
copying src/python/grpcio/grpc/_channel.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc
copying src/python/grpcio/grpc/_common.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc
copying src/python/grpcio/grpc/_grpcio_metadata.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc
copying src/python/grpcio/grpc/_interceptor.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc
copying src/python/grpcio/grpc/_plugin_wrapping.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc
copying src/python/grpcio/grpc/_server.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc
copying src/python/grpcio/grpc/_utilities.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc
creating python_build/lib.macosx-10.11-x86_64-2.7/grpc/_cython
copying src/python/grpcio/grpc/_cython/__init__.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/_cython
creating python_build/lib.macosx-10.11-x86_64-2.7/grpc/beta
copying src/python/grpcio/grpc/beta/__init__.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/beta
copying src/python/grpcio/grpc/beta/_client_adaptations.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/beta
copying src/python/grpcio/grpc/beta/_metadata.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/beta
copying src/python/grpcio/grpc/beta/_server_adaptations.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/beta
copying src/python/grpcio/grpc/beta/implementations.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/beta
copying src/python/grpcio/grpc/beta/interfaces.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/beta
copying src/python/grpcio/grpc/beta/utilities.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/beta
creating python_build/lib.macosx-10.11-x86_64-2.7/grpc/experimental
copying src/python/grpcio/grpc/experimental/__init__.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/experimental
copying src/python/grpcio/grpc/experimental/gevent.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/experimental
creating python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework
copying src/python/grpcio/grpc/framework/__init__.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework
creating python_build/lib.macosx-10.11-x86_64-2.7/grpc/_cython/_cygrpc
copying src/python/grpcio/grpc/_cython/_cygrpc/__init__.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/_cython/_cygrpc
creating python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/common
copying src/python/grpcio/grpc/framework/common/__init__.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/common
copying src/python/grpcio/grpc/framework/common/cardinality.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/common
copying src/python/grpcio/grpc/framework/common/style.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/common
creating python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/foundation
copying src/python/grpcio/grpc/framework/foundation/__init__.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/foundation
copying src/python/grpcio/grpc/framework/foundation/abandonment.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/foundation
copying src/python/grpcio/grpc/framework/foundation/callable_util.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/foundation
copying src/python/grpcio/grpc/framework/foundation/future.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/foundation
copying src/python/grpcio/grpc/framework/foundation/logging_pool.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/foundation
copying src/python/grpcio/grpc/framework/foundation/stream.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/foundation
copying src/python/grpcio/grpc/framework/foundation/stream_util.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/foundation
creating python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/interfaces
copying src/python/grpcio/grpc/framework/interfaces/__init__.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/interfaces
creating python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/interfaces/base
copying src/python/grpcio/grpc/framework/interfaces/base/__init__.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/interfaces/base
copying src/python/grpcio/grpc/framework/interfaces/base/base.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/interfaces/base
copying src/python/grpcio/grpc/framework/interfaces/base/utilities.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/interfaces/base
creating python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/interfaces/face
copying src/python/grpcio/grpc/framework/interfaces/face/__init__.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/interfaces/face
copying src/python/grpcio/grpc/framework/interfaces/face/face.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/interfaces/face
copying src/python/grpcio/grpc/framework/interfaces/face/utilities.py -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/framework/interfaces/face
creating python_build/lib.macosx-10.11-x86_64-2.7/grpc/_cython/_credentials
copying src/python/grpcio/grpc/_cython/_credentials/roots.pem -> python_build/lib.macosx-10.11-x86_64-2.7/grpc/_cython/_credentials
running build_ext
make: `/private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libboringssl.a' is up to date.
make: `/private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libares.a' is up to date.
make: `/private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libgpr.a' is up to date.

DEPENDENCY ERROR

The target you are trying to run requires an OpenSSL implementation.
Your system doesn't have one, and either the third_party directory
doesn't have it, or your compiler can't build BoringSSL.

Please consult INSTALL to get more information.

If you need information about why these tests failed, run:

make run_dep_checks

make: Circular /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libares.a <- /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libz.a dependency dropped.
make: Circular /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libaddress_sorting.a <- /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libz.a dependency dropped.
make: Circular /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libaddress_sorting.a <- /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/libs/opt/libares.a dependency dropped.
make: *** [stop] Error 1

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/setup.py", line 310, in <module>
cmdclass=COMMAND_CLASS,
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install.py", line 563, in run
self.run_command('build')
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/site-packages/setuptools/command/build_ext.py", line 66, in run
_build_ext.run(self)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/src/python/grpcio/commands.py", line 278, in build_extensions
raise Exception("make command failed!")
Exception: make command failed!

----------------------------------------
Command "/usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-record-EQ9Egf/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/dy/cwqszpvs33b9wwqblv985ltm0000gn/T/pip-install-JPecl1/grpcio/

一直以为是 openssl 安装问题,但是检查了好几遍,在去搜狗了一下,发现是版本问题,本人环境是 mac, 直接 pip install tensorflow 报错误信息

改为:

pip install grpcio==1.9.1

pip install tensorflow

安装成功。

fensorflow 安装报错 DEPENDENCY ERROR的更多相关文章

  1. npm安装报错:Error: EACCES: permission denied

    报错如下: sudo npm i webpack -g /Users/xesfe/.npm-global/bin/webpack -> /Users/xesfe/.npm-global/lib/ ...

  2. windows下scrapy安装问题,以及Twisted安装报错(error: Microsoft Visual C++ 14.0 is required.)完美解决办法

    方法1(通常是失败的) 1. 命令行执行: pip3 install scrapy 不管是网络问题也好,缺少相关的包也好,用这条命令安装scrapy我就没成功过...难受 方法2(成功) 手动安装相关 ...

  3. php5.6.11编译安装报错configure: error: Don't know how to define struct flock on this system

    centos 6.8 32位系统下,安装php.5.6.11是出现这个错误 解决办法: 1 2 3 4 vim /etc/ld.so.conf.d/local.conf     # 编辑库文件 /us ...

  4. Python3.6安装报错 configure: error: no acceptable C compiler found in $PATH

    安装python的时候出现如下的错误: [root@master ~]#./configure --prefix=/usr/local/python3.6 checking build system ...

  5. 【linux】Python3.6安装报错 configure: error: no acceptable C compiler found in $PATH

    安装python的时候出现如下的错误: [root@master ~]#./configure --prefix=/usr/local/python3.6 checking build system ...

  6. mysqlQL 5.7 安装报错CMake Error at cmake/boost.cmake:81 (MESSAGE)

    CMake Error at cmake/boost.cmake:81 (MESSAGE): You can download it with -DDOWNLOAD_BOOST=1 -DWITH_BO ...

  7. nginx安装报错:configure: error: the HTTP rewrite module requires the PCRE library

    参考:http://blog.51cto.com/williamx/958398 需要安装pcre-devel与openssl-devel yum -y install pcre-devel open ...

  8. python模块安装报错 :error: command 'gcc' failed with exit status 1

    参考:http://blog.csdn.net/fenglifeng1987/article/details/38057193 解决方法 yum install gcc libffi-devel py ...

  9. mysql 安装报错集合

    mysql-5.6.39 源码编译安装报错 报错信息: /tmp/ccV858jD.s: Assembler messages: /tmp/ccV858jD.s: Fatal error: can't ...

随机推荐

  1. 【Codeforces Round #505 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) A】 Doggo Recoloring

    [链接] 我是链接,点我呀:) [题意] 你可以把出现次数大于1的颜色换成其他颜色. 问你最后能不能全都变成同一种颜色 [题解] 判断一下有没有出现次数大于1的就好. 有的话.显然可以一直用它变颜色. ...

  2. HDU 1042 N!【大数】

    N! Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others) Total Subm ...

  3. Grace Hopper 葛丽丝 霍普

    Grace Murray Hopper(1906-1992), COBOL之母, Debug之母, A ship in port is safe, but that is not what ships ...

  4. HttpClient 4.4 请求

    4.2 版本 /** * url 请求 paramUrl * * @time 2015年11月10日下午4:40:22 * @packageName com.rom.utils * @param ur ...

  5. 【iOS开发-68】APP下载案例:利用tableView自带的cell布局+缓存池cell复用时注意button状态的检查

    (1)效果 (2)源码与资源下载 http://pan.baidu.com/s/1pJLo2PP (3)总结 --核心是利用UITableView里面自带的cell来制作样式同样的cell. 与之对应 ...

  6. Java集合(二):List列表

    在上一节中,介绍了Java集合的总体情况.从这节開始,将介绍详细的类.这里不单单介绍类的使用方法.还会试图从源代码的角度分析类的实现.这一节将介绍List接口及实现类.即列表中的链表LinkedLis ...

  7. 初学ToggleButton 点击button,更换button背景图片;再次点击,恢复之前背景图

    上方的图标,R.drawable.register_checked  是选中图片 下方的图标,   R.drawable.register_unchecked 是未选中图片 默认是上方的选中效果.点击 ...

  8. c# 无法加载xxx.dll 找不到指定的模块(如何指定文件夹)

    如果直接放在项目运行目录,例如bin/debug可以直接加载,但是这样比较乱. 如果在放debug里面的一个文件夹里面,有可能会报错“无法加载xxx.dll 找不到指定的模块”. 如果路径写成这样就会 ...

  9. caffe-ssd使用预训练模型做目标检测

    首先参考https://www.jianshu.com/p/4eaedaeafcb4 这是一个傻瓜似的目标检测样例,目前还不清楚图片怎么转换,怎么验证,后续继续跟进 模型测试(1)图片数据集上测试 p ...

  10. SYN-Flood防御方法之一Synproxy

    SYN-Flood攻击: 攻击者发送大量的SYN给服务器. 服务器必须针对每一个SYN请求回送一个SYN-ACK 应答包,此时服务器就必须保持一条半开放的连接,直到接收到一个对应的ACK应答包为止. ...