Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install DEPENDNECY ERROR on macOS #14573

Closed
claywong opened this issue Mar 2, 2018 · 39 comments
Closed

pip install DEPENDNECY ERROR on macOS #14573

claywong opened this issue Mar 2, 2018 · 39 comments

Comments

@claywong
Copy link

claywong commented Mar 2, 2018

Python 2.7.14 :: Anaconda custom (64-bit)
macOS:10.13.3

Using cached grpcio-1.10.0.tar.gz
Requirement already satisfied: six>=1.5.2 in ./anaconda2/lib/python2.7/site-packages (from grpcio)
Requirement already satisfied: protobuf>=3.5.0.post1 in ./anaconda2/lib/python2.7/site-packages (from grpcio)
Requirement already satisfied: futures>=2.2.0 in ./anaconda2/lib/python2.7/site-packages (from grpcio)
Requirement already satisfied: enum34>=1.0.4 in ./anaconda2/lib/python2.7/site-packages (from grpcio)
Requirement already satisfied: setuptools in ./anaconda2/lib/python2.7/site-packages (from protobuf>=3.5.0.post1->grpcio)
Building wheels for collected packages: grpcio
  Running setup.py bdist_wheel for grpcio ... error
  Complete output from command /Users/wangzhong/anaconda2/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/tmpGBrDmfpip-wheel- --python-tag cp27:
  Found cython-generated files...
  running bdist_wheel
  running build
  running build_py
  running build_project_metadata
  creating python_build
  creating python_build/lib.macosx-10.6-x86_64-2.7
  creating python_build/lib.macosx-10.6-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_channel.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_common.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_utilities.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_plugin_wrapping.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_interceptor.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_grpcio_metadata.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_server.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_auth.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
  creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
  copying src/python/grpcio/grpc/beta/_server_adaptations.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
  copying src/python/grpcio/grpc/beta/interfaces.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
  copying src/python/grpcio/grpc/beta/_metadata.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
  copying src/python/grpcio/grpc/beta/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
  copying src/python/grpcio/grpc/beta/utilities.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
  copying src/python/grpcio/grpc/beta/implementations.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
  copying src/python/grpcio/grpc/beta/_client_adaptations.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
  creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework
  copying src/python/grpcio/grpc/framework/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework
  creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/_cython
  copying src/python/grpcio/grpc/_cython/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/_cython
  creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/callable_util.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/abandonment.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/stream.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/stream_util.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/future.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/logging_pool.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
  creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/common
  copying src/python/grpcio/grpc/framework/common/style.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/common
  copying src/python/grpcio/grpc/framework/common/cardinality.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/common
  copying src/python/grpcio/grpc/framework/common/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/common
  creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces
  copying src/python/grpcio/grpc/framework/interfaces/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces
  creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/face
  copying src/python/grpcio/grpc/framework/interfaces/face/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/face
  copying src/python/grpcio/grpc/framework/interfaces/face/utilities.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/face
  copying src/python/grpcio/grpc/framework/interfaces/face/face.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/face
  creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/base
  copying src/python/grpcio/grpc/framework/interfaces/base/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/base
  copying src/python/grpcio/grpc/framework/interfaces/base/utilities.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/base
  copying src/python/grpcio/grpc/framework/interfaces/base/base.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/base
  creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/_cython/_cygrpc
  copying src/python/grpcio/grpc/_cython/_cygrpc/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/_cython/_cygrpc
  creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/_cython/_credentials
  copying src/python/grpcio/grpc/_cython/_credentials/roots.pem -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/_cython/_credentials
  warning: BuildPy: byte-compiling is disabled, skipping.

  running build_ext
  [C]       Compiling third_party/cares/cares/ares__close_sockets.c
  [C]       Compiling third_party/cares/cares/ares__get_hostent.c
  [C]       Compiling third_party/cares/cares/ares__read_line.c
  [C]       Compiling third_party/cares/cares/ares__timeval.c
  [C]       Compiling third_party/cares/cares/ares_cancel.c
  [C]       Compiling third_party/cares/cares/ares_create_query.c
  [C]       Compiling third_party/cares/cares/ares_data.c
  [C]       Compiling third_party/cares/cares/ares_destroy.c
  [C]       Compiling third_party/cares/cares/ares_expand_name.c
  [C]       Compiling third_party/cares/cares/ares_expand_string.c
  [C]       Compiling third_party/cares/cares/ares_fds.c
  [C]       Compiling third_party/cares/cares/ares_free_hostent.c
  [C]       Compiling third_party/cares/cares/ares_free_string.c
  [C]       Compiling third_party/cares/cares/ares_getenv.c
  [C]       Compiling third_party/cares/cares/ares_gethostbyaddr.c
  [C]       Compiling third_party/cares/cares/ares_gethostbyname.c
  [C]       Compiling third_party/cares/cares/ares_getnameinfo.c
  [C]       Compiling third_party/cares/cares/ares_getopt.c
  [C]       Compiling third_party/cares/cares/ares_getsock.c
  [C]       Compiling third_party/cares/cares/ares_init.c
  [C]       Compiling third_party/cares/cares/ares_library_init.c
  [C]       Compiling third_party/cares/cares/ares_llist.c
  [C]       Compiling third_party/cares/cares/ares_mkquery.c
  [C]       Compiling third_party/cares/cares/ares_nowarn.c
  [C]       Compiling third_party/cares/cares/ares_options.c
  [C]       Compiling third_party/cares/cares/ares_parse_a_reply.c
  [C]       Compiling third_party/cares/cares/ares_parse_aaaa_reply.c
  [C]       Compiling third_party/cares/cares/ares_parse_mx_reply.c
  [C]       Compiling third_party/cares/cares/ares_parse_naptr_reply.c
  [C]       Compiling third_party/cares/cares/ares_parse_ns_reply.c
  [C]       Compiling third_party/cares/cares/ares_parse_ptr_reply.c
  [C]       Compiling third_party/cares/cares/ares_parse_soa_reply.c
  [C]       Compiling third_party/cares/cares/ares_parse_srv_reply.c
  [C]       Compiling third_party/cares/cares/ares_parse_txt_reply.c
  [C]       Compiling third_party/cares/cares/ares_platform.c
  [C]       Compiling third_party/cares/cares/ares_process.c
  [C]       Compiling third_party/cares/cares/ares_query.c
  [C]       Compiling third_party/cares/cares/ares_search.c
  [C]       Compiling third_party/cares/cares/ares_send.c
  [C]       Compiling third_party/cares/cares/ares_strcasecmp.c
  [C]       Compiling third_party/cares/cares/ares_strdup.c
  [C]       Compiling third_party/cares/cares/ares_strerror.c
  [C]       Compiling third_party/cares/cares/ares_timeout.c
  [C]       Compiling third_party/cares/cares/ares_version.c
  [C]       Compiling third_party/cares/cares/ares_writev.c
  [C]       Compiling third_party/cares/cares/bitncmp.c
  [C]       Compiling third_party/cares/cares/inet_net_pton.c
  [C]       Compiling third_party/cares/cares/inet_ntop.c
  [C]       Compiling third_party/cares/cares/windows_port.c
  [AR]      Creating /private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/libs/opt/libares.a
  [C]       Compiling third_party/zlib/adler32.c
  [C]       Compiling third_party/zlib/compress.c
  [C]       Compiling third_party/zlib/crc32.c
  [C]       Compiling third_party/zlib/deflate.c
  [C]       Compiling third_party/zlib/gzclose.c
  [C]       Compiling third_party/zlib/gzlib.c
  [C]       Compiling third_party/zlib/gzread.c
  [C]       Compiling third_party/zlib/gzwrite.c
  [C]       Compiling third_party/zlib/infback.c
  [C]       Compiling third_party/zlib/inffast.c
  [C]       Compiling third_party/zlib/inflate.c
  [C]       Compiling third_party/zlib/inftrees.c
  [C]       Compiling third_party/zlib/trees.c
  [C]       Compiling third_party/zlib/uncompr.c
  [C]       Compiling third_party/zlib/zutil.c
  [AR]      Creating /private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/libs/opt/libz.a
  [C]       Compiling src/boringssl/err_data.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_bitstr.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_bool.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_d2i_fp.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_dup.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_enum.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_gentm.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_i2d_fp.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_int.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_mbstr.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_object.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_octet.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_print.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_strnid.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_time.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_type.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_utctm.c
  [C]       Compiling third_party/boringssl/crypto/asn1/a_utf8.c
  [C]       Compiling third_party/boringssl/crypto/asn1/asn1_lib.c
  [C]       Compiling third_party/boringssl/crypto/asn1/asn1_par.c
  [C]       Compiling third_party/boringssl/crypto/asn1/asn_pack.c
  [C]       Compiling third_party/boringssl/crypto/asn1/f_enum.c
  [C]       Compiling third_party/boringssl/crypto/asn1/f_int.c
  [C]       Compiling third_party/boringssl/crypto/asn1/f_string.c
  [C]       Compiling third_party/boringssl/crypto/asn1/tasn_dec.c
  [C]       Compiling third_party/boringssl/crypto/asn1/tasn_enc.c
  [C]       Compiling third_party/boringssl/crypto/asn1/tasn_fre.c
  [C]       Compiling third_party/boringssl/crypto/asn1/tasn_new.c
  [C]       Compiling third_party/boringssl/crypto/asn1/tasn_typ.c
  [C]       Compiling third_party/boringssl/crypto/asn1/tasn_utl.c
  [C]       Compiling third_party/boringssl/crypto/asn1/time_support.c
  [C]       Compiling third_party/boringssl/crypto/base64/base64.c
  [C]       Compiling third_party/boringssl/crypto/bio/bio.c
  [C]       Compiling third_party/boringssl/crypto/bio/bio_mem.c
  [C]       Compiling third_party/boringssl/crypto/bio/connect.c
  [C]       Compiling third_party/boringssl/crypto/bio/fd.c
  [C]       Compiling third_party/boringssl/crypto/bio/file.c
  [C]       Compiling third_party/boringssl/crypto/bio/hexdump.c
  [C]       Compiling third_party/boringssl/crypto/bio/pair.c
  [C]       Compiling third_party/boringssl/crypto/bio/printf.c
  [C]       Compiling third_party/boringssl/crypto/bio/socket.c
  [C]       Compiling third_party/boringssl/crypto/bio/socket_helper.c
  [C]       Compiling third_party/boringssl/crypto/bn_extra/bn_asn1.c
  [C]       Compiling third_party/boringssl/crypto/bn_extra/convert.c
  [C]       Compiling third_party/boringssl/crypto/buf/buf.c
  [C]       Compiling third_party/boringssl/crypto/bytestring/asn1_compat.c
  [C]       Compiling third_party/boringssl/crypto/bytestring/ber.c
  [C]       Compiling third_party/boringssl/crypto/bytestring/cbb.c
  [C]       Compiling third_party/boringssl/crypto/bytestring/cbs.c
  [C]       Compiling third_party/boringssl/crypto/chacha/chacha.c
  [C]       Compiling third_party/boringssl/crypto/cipher_extra/cipher_extra.c
  [C]       Compiling third_party/boringssl/crypto/cipher_extra/derive_key.c
  [C]       Compiling third_party/boringssl/crypto/cipher_extra/e_aesctrhmac.c
  [C]       Compiling third_party/boringssl/crypto/cipher_extra/e_aesgcmsiv.c
  [C]       Compiling third_party/boringssl/crypto/cipher_extra/e_chacha20poly1305.c
  [C]       Compiling third_party/boringssl/crypto/cipher_extra/e_null.c
  [C]       Compiling third_party/boringssl/crypto/cipher_extra/e_rc2.c
  [C]       Compiling third_party/boringssl/crypto/cipher_extra/e_rc4.c
  [C]       Compiling third_party/boringssl/crypto/cipher_extra/e_ssl3.c
  [C]       Compiling third_party/boringssl/crypto/cipher_extra/e_tls.c
  [C]       Compiling third_party/boringssl/crypto/cipher_extra/tls_cbc.c
  [C]       Compiling third_party/boringssl/crypto/cmac/cmac.c
  [C]       Compiling third_party/boringssl/crypto/conf/conf.c
  [C]       Compiling third_party/boringssl/crypto/cpu-aarch64-linux.c
  [C]       Compiling third_party/boringssl/crypto/cpu-arm-linux.c
  [C]       Compiling third_party/boringssl/crypto/cpu-arm.c
  [C]       Compiling third_party/boringssl/crypto/cpu-intel.c
  [C]       Compiling third_party/boringssl/crypto/cpu-ppc64le.c
  [C]       Compiling third_party/boringssl/crypto/crypto.c
  [C]       Compiling third_party/boringssl/crypto/curve25519/curve25519.c
  [C]       Compiling third_party/boringssl/crypto/curve25519/spake25519.c
  [C]       Compiling third_party/boringssl/crypto/curve25519/x25519-x86_64.c
  [C]       Compiling third_party/boringssl/crypto/dh/check.c
  [C]       Compiling third_party/boringssl/crypto/dh/dh.c
  [C]       Compiling third_party/boringssl/crypto/dh/dh_asn1.c
  [C]       Compiling third_party/boringssl/crypto/dh/params.c
  [C]       Compiling third_party/boringssl/crypto/digest_extra/digest_extra.c
  [C]       Compiling third_party/boringssl/crypto/dsa/dsa.c
  [C]       Compiling third_party/boringssl/crypto/dsa/dsa_asn1.c
  [C]       Compiling third_party/boringssl/crypto/ec_extra/ec_asn1.c
  [C]       Compiling third_party/boringssl/crypto/ecdh/ecdh.c
  [C]       Compiling third_party/boringssl/crypto/ecdsa_extra/ecdsa_asn1.c
  [C]       Compiling third_party/boringssl/crypto/engine/engine.c
  [C]       Compiling third_party/boringssl/crypto/err/err.c
  [C]       Compiling third_party/boringssl/crypto/evp/digestsign.c
  [C]       Compiling third_party/boringssl/crypto/evp/evp.c
  [C]       Compiling third_party/boringssl/crypto/evp/evp_asn1.c
  [C]       Compiling third_party/boringssl/crypto/evp/evp_ctx.c
  [C]       Compiling third_party/boringssl/crypto/evp/p_dsa_asn1.c
  [C]       Compiling third_party/boringssl/crypto/evp/p_ec.c
  [C]       Compiling third_party/boringssl/crypto/evp/p_ec_asn1.c
  [C]       Compiling third_party/boringssl/crypto/evp/p_ed25519.c
  [C]       Compiling third_party/boringssl/crypto/evp/p_ed25519_asn1.c
  [C]       Compiling third_party/boringssl/crypto/evp/p_rsa.c
  [C]       Compiling third_party/boringssl/crypto/evp/p_rsa_asn1.c
  [C]       Compiling third_party/boringssl/crypto/evp/pbkdf.c
  [C]       Compiling third_party/boringssl/crypto/evp/print.c
  [C]       Compiling third_party/boringssl/crypto/evp/scrypt.c
  [C]       Compiling third_party/boringssl/crypto/evp/sign.c
  [C]       Compiling third_party/boringssl/crypto/ex_data.c
  [C]       Compiling third_party/boringssl/crypto/fipsmodule/bcm.c
  [C]       Compiling third_party/boringssl/crypto/fipsmodule/is_fips.c
  [C]       Compiling third_party/boringssl/crypto/hkdf/hkdf.c
  [C]       Compiling third_party/boringssl/crypto/lhash/lhash.c
  [C]       Compiling third_party/boringssl/crypto/mem.c
  [C]       Compiling third_party/boringssl/crypto/obj/obj.c
  [C]       Compiling third_party/boringssl/crypto/obj/obj_xref.c
  [C]       Compiling third_party/boringssl/crypto/pem/pem_all.c
  [C]       Compiling third_party/boringssl/crypto/pem/pem_info.c
  [C]       Compiling third_party/boringssl/crypto/pem/pem_lib.c
  [C]       Compiling third_party/boringssl/crypto/pem/pem_oth.c
  [C]       Compiling third_party/boringssl/crypto/pem/pem_pk8.c
  [C]       Compiling third_party/boringssl/crypto/pem/pem_pkey.c
  [C]       Compiling third_party/boringssl/crypto/pem/pem_x509.c
  [C]       Compiling third_party/boringssl/crypto/pem/pem_xaux.c
  [C]       Compiling third_party/boringssl/crypto/pkcs7/pkcs7.c
  [C]       Compiling third_party/boringssl/crypto/pkcs7/pkcs7_x509.c
  [C]       Compiling third_party/boringssl/crypto/pkcs8/p5_pbev2.c
  [C]       Compiling third_party/boringssl/crypto/pkcs8/pkcs8.c
  [C]       Compiling third_party/boringssl/crypto/pkcs8/pkcs8_x509.c
  [C]       Compiling third_party/boringssl/crypto/poly1305/poly1305.c
  [C]       Compiling third_party/boringssl/crypto/poly1305/poly1305_arm.c
  [C]       Compiling third_party/boringssl/crypto/poly1305/poly1305_vec.c
  [C]       Compiling third_party/boringssl/crypto/pool/pool.c
  [C]       Compiling third_party/boringssl/crypto/rand_extra/deterministic.c
  [C]       Compiling third_party/boringssl/crypto/rand_extra/forkunsafe.c
  [C]       Compiling third_party/boringssl/crypto/rand_extra/fuchsia.c
  [C]       Compiling third_party/boringssl/crypto/rand_extra/rand_extra.c
  [C]       Compiling third_party/boringssl/crypto/rand_extra/windows.c
  [C]       Compiling third_party/boringssl/crypto/rc4/rc4.c
  [C]       Compiling third_party/boringssl/crypto/refcount_c11.c
  [C]       Compiling third_party/boringssl/crypto/refcount_lock.c
  [C]       Compiling third_party/boringssl/crypto/rsa_extra/rsa_asn1.c
  [C]       Compiling third_party/boringssl/crypto/stack/stack.c
  [C]       Compiling third_party/boringssl/crypto/thread.c
  [C]       Compiling third_party/boringssl/crypto/thread_none.c
  [C]       Compiling third_party/boringssl/crypto/thread_pthread.c
  [C]       Compiling third_party/boringssl/crypto/thread_win.c
  [C]       Compiling third_party/boringssl/crypto/x509/a_digest.c
  [C]       Compiling third_party/boringssl/crypto/x509/a_sign.c
  [C]       Compiling third_party/boringssl/crypto/x509/a_strex.c
  [C]       Compiling third_party/boringssl/crypto/x509/a_verify.c
  [C]       Compiling third_party/boringssl/crypto/x509/algorithm.c
  [C]       Compiling third_party/boringssl/crypto/x509/asn1_gen.c
  [C]       Compiling third_party/boringssl/crypto/x509/by_dir.c
  [C]       Compiling third_party/boringssl/crypto/x509/by_file.c
  [C]       Compiling third_party/boringssl/crypto/x509/i2d_pr.c
  [C]       Compiling third_party/boringssl/crypto/x509/rsa_pss.c
  [C]       Compiling third_party/boringssl/crypto/x509/t_crl.c
  [C]       Compiling third_party/boringssl/crypto/x509/t_req.c
  [C]       Compiling third_party/boringssl/crypto/x509/t_x509.c
  [C]       Compiling third_party/boringssl/crypto/x509/t_x509a.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_att.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_cmp.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_d2.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_def.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_ext.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_lu.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_obj.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_r2x.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_req.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_set.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_trs.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_txt.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_v3.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_vfy.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509_vpm.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509cset.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509name.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509rset.c
  [C]       Compiling third_party/boringssl/crypto/x509/x509spki.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_algor.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_all.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_attrib.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_crl.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_exten.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_info.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_name.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_pkey.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_pubkey.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_req.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_sig.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_spki.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_val.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_x509.c
  [C]       Compiling third_party/boringssl/crypto/x509/x_x509a.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/pcy_cache.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/pcy_data.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/pcy_lib.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/pcy_map.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/pcy_node.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/pcy_tree.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_akey.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_akeya.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_alt.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_bcons.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_bitst.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_conf.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_cpols.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_crld.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_enum.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_extku.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_genn.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_ia5.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_info.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_int.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_lib.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_ncons.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_pci.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_pcia.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_pcons.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_pku.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_pmaps.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_prn.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_purp.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_skey.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_sxnet.c
  [C]       Compiling third_party/boringssl/crypto/x509v3/v3_utl.c
  [CXX]     Compiling third_party/boringssl/ssl/bio_ssl.cc
  [CXX]     Compiling third_party/boringssl/ssl/custom_extensions.cc
  [CXX]     Compiling third_party/boringssl/ssl/d1_both.cc
  [CXX]     Compiling third_party/boringssl/ssl/d1_lib.cc
  [CXX]     Compiling third_party/boringssl/ssl/d1_pkt.cc
  [CXX]     Compiling third_party/boringssl/ssl/d1_srtp.cc
  [CXX]     Compiling third_party/boringssl/ssl/dtls_method.cc
  [CXX]     Compiling third_party/boringssl/ssl/dtls_record.cc
  [CXX]     Compiling third_party/boringssl/ssl/handshake.cc
  [CXX]     Compiling third_party/boringssl/ssl/handshake_client.cc
  [CXX]     Compiling third_party/boringssl/ssl/handshake_server.cc
  [CXX]     Compiling third_party/boringssl/ssl/s3_both.cc
  [CXX]     Compiling third_party/boringssl/ssl/s3_lib.cc
  [CXX]     Compiling third_party/boringssl/ssl/s3_pkt.cc
  [CXX]     Compiling third_party/boringssl/ssl/ssl_aead_ctx.cc
  [CXX]     Compiling third_party/boringssl/ssl/ssl_asn1.cc
  [CXX]     Compiling third_party/boringssl/ssl/ssl_buffer.cc
  [CXX]     Compiling third_party/boringssl/ssl/ssl_cert.cc
  [CXX]     Compiling third_party/boringssl/ssl/ssl_cipher.cc
  [CXX]     Compiling third_party/boringssl/ssl/ssl_file.cc
  [CXX]     Compiling third_party/boringssl/ssl/ssl_key_share.cc
  [CXX]     Compiling third_party/boringssl/ssl/ssl_lib.cc
  [CXX]     Compiling third_party/boringssl/ssl/ssl_privkey.cc
  [CXX]     Compiling third_party/boringssl/ssl/ssl_session.cc
  [CXX]     Compiling third_party/boringssl/ssl/ssl_stat.cc
  [CXX]     Compiling third_party/boringssl/ssl/ssl_transcript.cc
  [CXX]     Compiling third_party/boringssl/ssl/ssl_versions.cc
  [CXX]     Compiling third_party/boringssl/ssl/ssl_x509.cc
  [CXX]     Compiling third_party/boringssl/ssl/t1_enc.cc
  [CXX]     Compiling third_party/boringssl/ssl/t1_lib.cc
  [CXX]     Compiling third_party/boringssl/ssl/tls13_both.cc
  [CXX]     Compiling third_party/boringssl/ssl/tls13_client.cc
  [CXX]     Compiling third_party/boringssl/ssl/tls13_enc.cc
  [CXX]     Compiling third_party/boringssl/ssl/tls13_server.cc
  [CXX]     Compiling third_party/boringssl/ssl/tls_method.cc
  [CXX]     Compiling third_party/boringssl/ssl/tls_record.cc
  [AR]      Creating /private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/libs/opt/libboringssl.a
  make: `/private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/libs/opt/libares.a' is up to date.
  [CXX]     Compiling src/core/lib/gpr/alloc.cc
  [CXX]     Compiling src/core/lib/gpr/arena.cc
  [CXX]     Compiling src/core/lib/gpr/atm.cc
  [CXX]     Compiling src/core/lib/gpr/cpu_iphone.cc
  [CXX]     Compiling src/core/lib/gpr/cpu_linux.cc
  [CXX]     Compiling src/core/lib/gpr/cpu_posix.cc
  [CXX]     Compiling src/core/lib/gpr/cpu_windows.cc
  [CXX]     Compiling src/core/lib/gpr/env_linux.cc
  [CXX]     Compiling src/core/lib/gpr/env_posix.cc
  [CXX]     Compiling src/core/lib/gpr/env_windows.cc
  [CXX]     Compiling src/core/lib/gpr/fork.cc
  [CXX]     Compiling src/core/lib/gpr/host_port.cc
  [CXX]     Compiling src/core/lib/gpr/log.cc
  [CXX]     Compiling src/core/lib/gpr/log_android.cc
  [CXX]     Compiling src/core/lib/gpr/log_linux.cc
  [CXX]     Compiling src/core/lib/gpr/log_posix.cc
  [CXX]     Compiling src/core/lib/gpr/log_windows.cc
  [CXX]     Compiling src/core/lib/gpr/mpscq.cc
  [CXX]     Compiling src/core/lib/gpr/murmur_hash.cc
  [CXX]     Compiling src/core/lib/gpr/string.cc
  [CXX]     Compiling src/core/lib/gpr/string_posix.cc
  [CXX]     Compiling src/core/lib/gpr/string_util_windows.cc
  [CXX]     Compiling src/core/lib/gpr/string_windows.cc
  [CXX]     Compiling src/core/lib/gpr/sync.cc
  [CXX]     Compiling src/core/lib/gpr/sync_posix.cc
  [CXX]     Compiling src/core/lib/gpr/sync_windows.cc
  [CXX]     Compiling src/core/lib/gpr/thd.cc
  [CXX]     Compiling src/core/lib/gpr/thd_posix.cc
  [CXX]     Compiling src/core/lib/gpr/thd_windows.cc
  [CXX]     Compiling src/core/lib/gpr/time.cc
  [CXX]     Compiling src/core/lib/gpr/time_posix.cc
  [CXX]     Compiling src/core/lib/gpr/time_precise.cc
  [CXX]     Compiling src/core/lib/gpr/time_windows.cc
  [CXX]     Compiling src/core/lib/gpr/tls_pthread.cc
  [CXX]     Compiling src/core/lib/gpr/tmpfile_msys.cc
  [CXX]     Compiling src/core/lib/gpr/tmpfile_posix.cc
  [CXX]     Compiling src/core/lib/gpr/tmpfile_windows.cc
  [CXX]     Compiling src/core/lib/gpr/wrap_memcpy.cc
  [CXX]     Compiling src/core/lib/profiling/basic_timers.cc
  [CXX]     Compiling src/core/lib/profiling/stap_timers.cc
  [AR]      Creating /private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/libs/opt/libgpr.a

  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/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/libs/opt/libares.a <- /private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/libs/opt/libz.a dependency dropped.
  make: *** [stop] Error 1

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/setup.py", line 311, in <module>
      cmdclass=COMMAND_CLASS,
    File "/Users/wangzhong/anaconda2/lib/python2.7/site-packages/setuptools/__init__.py", line 129, in setup
      return distutils.core.setup(**attrs)
    File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/core.py", line 151, in setup
      dist.run_commands()
    File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/Users/wangzhong/anaconda2/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 204, in run
      self.run_command('build')
    File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/command/build.py", line 127, in run
      self.run_command(cmd_name)
    File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/Users/wangzhong/anaconda2/lib/python2.7/site-packages/setuptools/command/build_ext.py", line 78, in run
      _build_ext.run(self)
    File "/Users/wangzhong/anaconda2/lib/python2.7/site-packages/Cython/Distutils/old_build_ext.py", line 185, in run
      _build_ext.build_ext.run(self)
    File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/command/build_ext.py", line 340, in run
      self.build_extensions()
    File "/private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/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 /Users/wangzhong/anaconda2/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/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 /var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-D4pFnY-record/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.6-x86_64-2.7
    creating python_build/lib.macosx-10.6-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_channel.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_common.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_utilities.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_plugin_wrapping.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_interceptor.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_grpcio_metadata.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_server.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_auth.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc
    creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/_server_adaptations.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/interfaces.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/_metadata.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/utilities.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/implementations.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/_client_adaptations.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/beta
    creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework
    copying src/python/grpcio/grpc/framework/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework
    creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/_cython
    copying src/python/grpcio/grpc/_cython/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/_cython
    creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/callable_util.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/abandonment.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/stream.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/stream_util.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/future.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/logging_pool.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/foundation
    creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/common
    copying src/python/grpcio/grpc/framework/common/style.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/common
    copying src/python/grpcio/grpc/framework/common/cardinality.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/common
    copying src/python/grpcio/grpc/framework/common/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/common
    creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces
    copying src/python/grpcio/grpc/framework/interfaces/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces
    creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/face
    copying src/python/grpcio/grpc/framework/interfaces/face/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/face
    copying src/python/grpcio/grpc/framework/interfaces/face/utilities.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/face
    copying src/python/grpcio/grpc/framework/interfaces/face/face.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/face
    creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/base
    copying src/python/grpcio/grpc/framework/interfaces/base/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/base
    copying src/python/grpcio/grpc/framework/interfaces/base/utilities.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/base
    copying src/python/grpcio/grpc/framework/interfaces/base/base.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/framework/interfaces/base
    creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/_cython/_cygrpc
    copying src/python/grpcio/grpc/_cython/_cygrpc/__init__.py -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/_cython/_cygrpc
    creating python_build/lib.macosx-10.6-x86_64-2.7/grpc/_cython/_credentials
    copying src/python/grpcio/grpc/_cython/_credentials/roots.pem -> python_build/lib.macosx-10.6-x86_64-2.7/grpc/_cython/_credentials
    warning: BuildPy: byte-compiling is disabled, skipping.

    running build_ext
    make: `/private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/libs/opt/libboringssl.a' is up to date.
    make: `/private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/libs/opt/libares.a' is up to date.
    make: `/private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/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/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/libs/opt/libares.a <- /private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/libs/opt/libz.a dependency dropped.
    make: *** [stop] Error 1

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/setup.py", line 311, in <module>
        cmdclass=COMMAND_CLASS,
      File "/Users/wangzhong/anaconda2/lib/python2.7/site-packages/setuptools/__init__.py", line 129, in setup
        return distutils.core.setup(**attrs)
      File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/Users/wangzhong/anaconda2/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/command/install.py", line 563, in run
        self.run_command('build')
      File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/command/build.py", line 127, in run
        self.run_command(cmd_name)
      File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/Users/wangzhong/anaconda2/lib/python2.7/site-packages/setuptools/command/build_ext.py", line 78, in run
        _build_ext.run(self)
      File "/Users/wangzhong/anaconda2/lib/python2.7/site-packages/Cython/Distutils/old_build_ext.py", line 185, in run
        _build_ext.build_ext.run(self)
      File "/Users/wangzhong/anaconda2/lib/python2.7/distutils/command/build_ext.py", line 340, in run
        self.build_extensions()
      File "/private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/src/python/grpcio/commands.py", line 278, in build_extensions
        raise Exception("make command failed!")
    Exception: make command failed!

    ----------------------------------------
Command "/Users/wangzhong/anaconda2/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/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 /var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-D4pFnY-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/fs/1f88vm_12jb9mq7__p0287pc0000gn/T/pip-build-_tMgkI/grpcio/
@leviable
Copy link

leviable commented Mar 2, 2018

This is affecting my team as well.

@harahu
Copy link

harahu commented Mar 2, 2018

Currently this makes installing TensorFlow 1.6 for macOS through pip fail.

@mehrdada
Copy link
Member

mehrdada commented Mar 2, 2018

For some reason our build infrastructure did not generate the macOS binary wheels and they were not uploaded to PyPI; consequently, pip install is trying to compile from source .tar.gz package (which should work if you have all the build dependencies installed, but naturally fails otherwise). I am rebuilding macOS packages specifically now to upload to PyPI.

@mehrdada
Copy link
Member

mehrdada commented Mar 2, 2018

macOS binary wheels are uploaded. Should be fixed now. Please retry (ensure pip is not fetching from cache and taking the binary from PyPI).

@mehrdada
Copy link
Member

mehrdada commented Mar 2, 2018

@hhusum @levi-rs can y'all please retry and let me know if it got fixed for you?

@leviable
Copy link

leviable commented Mar 2, 2018

@mehrdada Works for me! Thank you for the quick turnaround.

@harahu
Copy link

harahu commented Mar 3, 2018

Works for me as well! Good job.

@pinguo-wangzhong
Copy link

Works for me ! Cool

@francbartoli
Copy link

I'm getting the same while installing https://github.com/firebase/firebase-admin-python fetching 1.10.1 version. Maybe still Mac OS packages for this version are not on PyPI?

@mehrdada
Copy link
Member

mehrdada commented Apr 11, 2018

@francbartoli I can see macOS binaries uploaded here: https://pypi.python.org/pypi/grpcio/1.10.1. I just verified it on my Mac running High Sierra:

$ python -m virtualenv .
New python executable in /private/var/folders/gc/_875nbs507b299tkq0bkbj540000gn/T/tmp.ukoVm1mc/bin/python
Installing setuptools, pip, wheel...done.

$ bin/pip install --upgrade grpcio==1.10.1
Collecting grpcio==1.10.1
  Downloading grpcio-1.10.1-cp27-cp27m-macosx_10_11_x86_64.whl (1.5MB)
    100% |████████████████████████████████| 1.5MB 1.1MB/s
Collecting six>=1.5.2 (from grpcio==1.10.1)
  Using cached six-1.11.0-py2.py3-none-any.whl
Collecting enum34>=1.0.4 (from grpcio==1.10.1)
  Using cached enum34-1.1.6-py2-none-any.whl
Collecting protobuf>=3.5.0.post1 (from grpcio==1.10.1)
  Using cached protobuf-3.5.2.post1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting futures>=2.2.0 (from grpcio==1.10.1)
  Using cached futures-3.2.0-py2-none-any.whl
Requirement already up-to-date: setuptools in ./lib/python2.7/site-packages (from protobuf>=3.5.0.post1->grpcio==1.10.1)
Installing collected packages: six, enum34, protobuf, futures, grpcio
Successfully installed enum34-1.1.6 futures-3.2.0 grpcio-1.10.1 protobuf-3.5.2.post1 six-1.11.0

@francbartoli
Copy link

Still failing:

Collecting grpcio
  Using cached grpcio-1.10.1.tar.gz
Requirement already up-to-date: six>=1.5.2 in /Users/geobart/pyenv/gee-bridge-3sQaRhrV/lib/python2.7/site-packages (from grpcio)
Collecting protobuf>=3.5.0.post1 (from grpcio)
  Downloading protobuf-3.5.2.post1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.2MB)
    100% |████████████████████████████████| 1.2MB 385kB/s
Requirement already up-to-date: futures>=2.2.0 in /Users/geobart/pyenv/gee-bridge-3sQaRhrV/lib/python2.7/site-packages (from grpcio)
Requirement already up-to-date: enum34>=1.0.4 in /Users/geobart/pyenv/gee-bridge-3sQaRhrV/lib/python2.7/site-packages (from grpcio)
Collecting setuptools (from protobuf>=3.5.0.post1->grpcio)
  Using cached setuptools-39.0.1-py2.py3-none-any.whl
Installing collected packages: setuptools, protobuf, grpcio
  Found existing installation: setuptools 38.5.1
    Uninstalling setuptools-38.5.1:
      Successfully uninstalled setuptools-38.5.1
  Found existing installation: protobuf 3.5.2
    Uninstalling protobuf-3.5.2:
      Successfully uninstalled protobuf-3.5.2
  Running setup.py install for grpcio ... error
    Complete output from command /Users/geobart/pyenv/gee-bridge-3sQaRhrV/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/f5/k25ptqd12nq2mt4v3cdncgk00000gn/T/pip-build-6SP7y3/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 /var/folders/f5/k25ptqd12nq2mt4v3cdncgk00000gn/T/pip-1pYfzK-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/geobart/pyenv/gee-bridge-3sQaRhrV/include/site/python2.7/grpcio:
    Found cython-generated files...
    running install
    running build
    running build_py
    running build_project_metadata
    creating python_build
    creating python_build/lib.macosx-10.9-x86_64-2.7
    creating python_build/lib.macosx-10.9-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/__init__.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_auth.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_channel.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_common.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_grpcio_metadata.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_interceptor.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_plugin_wrapping.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_server.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_utilities.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc
    creating python_build/lib.macosx-10.9-x86_64-2.7/grpc/_cython
    copying src/python/grpcio/grpc/_cython/__init__.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/_cython
    creating python_build/lib.macosx-10.9-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/__init__.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/_client_adaptations.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/_metadata.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/_server_adaptations.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/implementations.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/interfaces.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/utilities.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/beta
    creating python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework
    copying src/python/grpcio/grpc/framework/__init__.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework
    creating python_build/lib.macosx-10.9-x86_64-2.7/grpc/_cython/_cygrpc
    copying src/python/grpcio/grpc/_cython/_cygrpc/__init__.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/_cython/_cygrpc
    creating python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/common
    copying src/python/grpcio/grpc/framework/common/__init__.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/common
    copying src/python/grpcio/grpc/framework/common/cardinality.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/common
    copying src/python/grpcio/grpc/framework/common/style.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/common
    creating python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/__init__.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/abandonment.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/callable_util.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/future.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/logging_pool.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/stream.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/stream_util.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/foundation
    creating python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/interfaces
    copying src/python/grpcio/grpc/framework/interfaces/__init__.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/interfaces
    creating python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/interfaces/base
    copying src/python/grpcio/grpc/framework/interfaces/base/__init__.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/interfaces/base
    copying src/python/grpcio/grpc/framework/interfaces/base/base.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/interfaces/base
    copying src/python/grpcio/grpc/framework/interfaces/base/utilities.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/interfaces/base
    creating python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/interfaces/face
    copying src/python/grpcio/grpc/framework/interfaces/face/__init__.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/interfaces/face
    copying src/python/grpcio/grpc/framework/interfaces/face/face.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/interfaces/face
    copying src/python/grpcio/grpc/framework/interfaces/face/utilities.py -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/framework/interfaces/face
    creating python_build/lib.macosx-10.9-x86_64-2.7/grpc/_cython/_credentials
    copying src/python/grpcio/grpc/_cython/_credentials/roots.pem -> python_build/lib.macosx-10.9-x86_64-2.7/grpc/_cython/_credentials
    warning: BuildPy: byte-compiling is disabled, skipping.

    running build_ext
    [C]       Compiling src/boringssl/err_data.c

    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:115:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/e_os2.h:276:11: error: 'OPENSSL_EXPORT' macro redefined [-Werror]
    #  define OPENSSL_EXPORT extern
              ^
    third_party/boringssl/include/openssl/base.h:178:9: note: previous definition is here
    #define OPENSSL_EXPORT
            ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:83:31: error: redefinition of typedef 'ASN1_INTEGER' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_INTEGER;
                                  ^
    third_party/boringssl/include/openssl/base.h:253:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_INTEGER;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:84:31: error: redefinition of typedef 'ASN1_ENUMERATED' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_ENUMERATED;
                                  ^
    third_party/boringssl/include/openssl/base.h:249:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_ENUMERATED;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:85:31: error: redefinition of typedef 'ASN1_BIT_STRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_BIT_STRING;
                                  ^
    third_party/boringssl/include/openssl/base.h:247:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_BIT_STRING;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:86:31: error: redefinition of typedef 'ASN1_OCTET_STRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_OCTET_STRING;
                                  ^
    third_party/boringssl/include/openssl/base.h:254:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_OCTET_STRING;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:87:31: error: redefinition of typedef 'ASN1_PRINTABLESTRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_PRINTABLESTRING;
                                  ^
    third_party/boringssl/include/openssl/base.h:255:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_PRINTABLESTRING;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:88:31: error: redefinition of typedef 'ASN1_T61STRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_T61STRING;
                                  ^
    third_party/boringssl/include/openssl/base.h:257:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_T61STRING;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:89:31: error: redefinition of typedef 'ASN1_IA5STRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_IA5STRING;
                                  ^
    third_party/boringssl/include/openssl/base.h:252:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_IA5STRING;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:90:31: error: redefinition of typedef 'ASN1_GENERALSTRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_GENERALSTRING;
                                  ^
    third_party/boringssl/include/openssl/base.h:251:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_GENERALSTRING;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:91:31: error: redefinition of typedef 'ASN1_UNIVERSALSTRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
                                  ^
    third_party/boringssl/include/openssl/base.h:259:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:92:31: error: redefinition of typedef 'ASN1_BMPSTRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_BMPSTRING;
                                  ^
    third_party/boringssl/include/openssl/base.h:248:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_BMPSTRING;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:93:31: error: redefinition of typedef 'ASN1_UTCTIME' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_UTCTIME;
                                  ^
    third_party/boringssl/include/openssl/base.h:260:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_UTCTIME;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:94:31: error: redefinition of typedef 'ASN1_TIME' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_TIME;
                                  ^
    third_party/boringssl/include/openssl/base.h:258:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_TIME;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:95:31: error: redefinition of typedef 'ASN1_GENERALIZEDTIME' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_GENERALIZEDTIME;
                                  ^
    third_party/boringssl/include/openssl/base.h:250:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_GENERALIZEDTIME;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:96:31: error: redefinition of typedef 'ASN1_VISIBLESTRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_VISIBLESTRING;
                                  ^
    third_party/boringssl/include/openssl/base.h:262:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_VISIBLESTRING;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:97:31: error: redefinition of typedef 'ASN1_UTF8STRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_UTF8STRING;
                                  ^
    third_party/boringssl/include/openssl/base.h:261:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_UTF8STRING;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:98:31: error: redefinition of typedef 'ASN1_STRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef struct asn1_string_st ASN1_STRING;
                                  ^
    third_party/boringssl/include/openssl/base.h:256:31: note: previous definition is here
    typedef struct asn1_string_st ASN1_STRING;
                                  ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:99:13: error: redefinition of typedef 'ASN1_BOOLEAN' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef int ASN1_BOOLEAN;
                ^
    third_party/boringssl/include/openssl/base.h:242:13: note: previous definition is here
    typedef int ASN1_BOOLEAN;
                ^
    In file included from src/boringssl/err_data.c:18:
    In file included from /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/err.h:122:
    /usr/local/Cellar/openssl/1.0.2o_1/include/openssl/ossl_typ.h:100:13: error: redefinition of typedef 'ASN1_NULL' is a C11 feature [-Werror,-Wtypedef-redefinition]
    typedef int ASN1_NULL;
                ^
    third_party/boringssl/include/openssl/base.h:243:13: note: previous definition is here
    typedef int ASN1_NULL;
                ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    20 errors generated.
    make: *** [/private/var/folders/f5/k25ptqd12nq2mt4v3cdncgk00000gn/T/pip-build-6SP7y3/grpcio/objs/opt/src/boringssl/err_data.o] Error 1

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/f5/k25ptqd12nq2mt4v3cdncgk00000gn/T/pip-build-6SP7y3/grpcio/setup.py", line 311, in <module>
        cmdclass=COMMAND_CLASS,
      File "/Users/geobart/pyenv/gee-bridge-3sQaRhrV/lib/python2.7/site-packages/setuptools/__init__.py", line 129, in setup
        return distutils.core.setup(**attrs)
      File "/Users/geobart/.pyenv/versions/2.7.13/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/Users/geobart/.pyenv/versions/2.7.13/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/Users/geobart/.pyenv/versions/2.7.13/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/Users/geobart/pyenv/gee-bridge-3sQaRhrV/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/Users/geobart/.pyenv/versions/2.7.13/lib/python2.7/distutils/command/install.py", line 563, in run
        self.run_command('build')
      File "/Users/geobart/.pyenv/versions/2.7.13/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/Users/geobart/.pyenv/versions/2.7.13/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/Users/geobart/.pyenv/versions/2.7.13/lib/python2.7/distutils/command/build.py", line 127, in run
        self.run_command(cmd_name)
      File "/Users/geobart/.pyenv/versions/2.7.13/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/Users/geobart/.pyenv/versions/2.7.13/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/Users/geobart/pyenv/gee-bridge-3sQaRhrV/lib/python2.7/site-packages/setuptools/command/build_ext.py", line 78, in run
        _build_ext.run(self)
      File "/Users/geobart/.pyenv/versions/2.7.13/lib/python2.7/distutils/command/build_ext.py", line 340, in run
        self.build_extensions()
      File "/private/var/folders/f5/k25ptqd12nq2mt4v3cdncgk00000gn/T/pip-build-6SP7y3/grpcio/src/python/grpcio/commands.py", line 278, in build_extensions
        raise Exception("make command failed!")
    Exception: make command failed!

    ----------------------------------------

@mehrdada
Copy link
Member

@francbartoli Looks like it somehow picks up OpenSSL headers on your system installed with brew instead of the shipped BoringSSL. Can you try force installing the binary wheels?

pip install --no-cache-dir --only-binary :all: grpcio==1.10.1

@francbartoli
Copy link

@mehrdada strange the package seems to be not reachable:

$pip install --no-cache-dir --only-binary :all: grpcio==1.10.1

Collecting grpcio==1.10.1
  Could not find a version that satisfies the requirement grpcio==1.10.1 (from versions: )
No matching distribution found for grpcio==1.10.1

@mehrdada
Copy link
Member

@francbartoli Let's file a new issue with details of your system, version of OS, Python, pip, etc to investigate. The root cause seems unrelated to this one.

@Raj-JainHC
Copy link

@mehrdada It worked for me. I was trying to install dialogflow. I used this
pip install --no-cache-dir --only-binary :all: grpcio>=1.8.2

@JiangFeng07
Copy link

JiangFeng07 commented Sep 19, 2018

pip install --no-cache-dir --only-binary :all: grpcio==1.10.1

work for me ,thanks @Mehrdata

@erickertz
Copy link

@mehrdada strange the package seems to be not reachable:

$pip install --no-cache-dir --only-binary :all: grpcio==1.10.1

Collecting grpcio==1.10.1
  Could not find a version that satisfies the requirement grpcio==1.10.1 (from versions: )
No matching distribution found for grpcio==1.10.1

I'm getting the same error. Did you find a fix for this?

@iniyanp
Copy link

iniyanp commented Oct 24, 2018

Same error.

  Exception: make command failed!
    b'[C]       Compiling third_party/cares/cares/ares__close_sockets.c\n'

@mehrdada
Copy link
Member

@erickertz @iniyanp Please file a new issue with the details of your environment. I believe the original issue here is fixed. Also, please avoid using 1.10.1, as the current version (uploaded 17 hours ago) is 1.16.0. Please do let us know if there is trouble with that.

@erickertz
Copy link

erickertz commented Oct 24, 2018

@mehrdada I am experiencing the same exact issue with 1.16.0 though.

@mehrdada
Copy link
Member

@erickertz On what platform/version?

@mehrdada
Copy link
Member

@erickertz FYI pip install grpcio works fine for @lidizheng and me on macOS (my Python3 is installed from brew).

@erickertz
Copy link

@erickertz On what platform/version?

OSX El Captain 10.11.6 . Python 2.7.11 .

If I do pip install grpcio==1.16.0 the same exact error occurs as stated by the OP.

@erickertz
Copy link

python installed with pyenv

@mehrdada mehrdada assigned lidizheng and unassigned mehrdada Oct 24, 2018
@mehrdada mehrdada reopened this Oct 24, 2018
@mehrdada
Copy link
Member

@lidizheng can you try reproducing with pyenv?

@BillG18
Copy link

BillG18 commented Oct 24, 2018

Just wanted to add if its any help that I was able to get the same setup that @erickertz was trying to run to work with python 2.7.15 installed natively from the macOS installer on python.org.

@lidizheng
Copy link
Contributor

@mehrdada pyenv with Python 2.7.11 can't reproduce the error...

@erickertz
Copy link

erickertz commented Oct 24, 2018 via email

@lidizheng
Copy link
Contributor

@erickertz I'm in 10.13.6. Can you provide the log of pip install -vvv grpcio?

@erickertz
Copy link

@lidizheng
Copy link
Contributor

@erickertz At here, it shows the problem is that your system might be included your local OpenSSL before building gRPC which uses BoringSSL. It usually happened because of compiler flags being customized somewhere. Can you try to install gRPC in a clean environment? Like

# Use another user to install
sudo pip install -vvv grpcio
# Disable your ~/.profile or ~/.bash_profile or ~/.bashrc
bash --noprofile --norc
$ # Install inside the bash
$ pip install -vvv grpcio

@nicolasnoble
Copy link
Member

Please note that if issues were closed, we shouldn't reopen them for different problems. This seems like a different problem. Please leave the issue closed and open a new issue instead.

@mehrdada
Copy link
Member

I agree—now that we are confident this is a different issue, I'm closing it. Let's track it on a separate issue.

@Mottl
Copy link

Mottl commented Oct 25, 2018

Same issue with PyPy installed from MacPorts

Python 3.5.3 (fdd60ed87e941677e8ea11acf9f1819466521bf2, Jul 30 2018, 08:59:51)
[PyPy 6.0.0 with GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)]

Log:

b"In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:115:
/opt/local/include/openssl/e_os2.h:276:11: error: 'OPENSSL_EXPORT' macro redefined [-Werror,-Wmacro-redefined]
#  define OPENSSL_EXPORT extern
          ^
third_party/boringssl/include/openssl/base.h:182:9: note: previous definition is here
#define OPENSSL_EXPORT
        ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:83:31: error: redefinition of typedef 'ASN1_INTEGER' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_INTEGER;
                              ^
third_party/boringssl/include/openssl/base.h:244:31: note: previous definition is here
typedef struct asn1_string_st ASN1_INTEGER;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:84:31: error: redefinition of typedef 'ASN1_ENUMERATED' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_ENUMERATED;
                              ^
third_party/boringssl/include/openssl/base.h:240:31: note: previous definition is here
typedef struct asn1_string_st ASN1_ENUMERATED;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:85:31: error: redefinition of typedef 'ASN1_BIT_STRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_BIT_STRING;
                              ^
third_party/boringssl/include/openssl/base.h:238:31: note: previous definition is here
typedef struct asn1_string_st ASN1_BIT_STRING;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:86:31: error: redefinition of typedef 'ASN1_OCTET_STRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_OCTET_STRING;
                              ^
third_party/boringssl/include/openssl/base.h:245:31: note: previous definition is here
typedef struct asn1_string_st ASN1_OCTET_STRING;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:87:31: error: redefinition of typedef 'ASN1_PRINTABLESTRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_PRINTABLESTRING;
                              ^
third_party/boringssl/include/openssl/base.h:246:31: note: previous definition is here
typedef struct asn1_string_st ASN1_PRINTABLESTRING;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:88:31: error: redefinition of typedef 'ASN1_T61STRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_T61STRING;
                              ^
third_party/boringssl/include/openssl/base.h:248:31: note: previous definition is here
typedef struct asn1_string_st ASN1_T61STRING;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:89:31: error: redefinition of typedef 'ASN1_IA5STRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_IA5STRING;
                              ^
third_party/boringssl/include/openssl/base.h:243:31: note: previous definition is here
typedef struct asn1_string_st ASN1_IA5STRING;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:90:31: error: redefinition of typedef 'ASN1_GENERALSTRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_GENERALSTRING;
                              ^
third_party/boringssl/include/openssl/base.h:242:31: note: previous definition is here
typedef struct asn1_string_st ASN1_GENERALSTRING;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:91:31: error: redefinition of typedef 'ASN1_UNIVERSALSTRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
                              ^
third_party/boringssl/include/openssl/base.h:250:31: note: previous definition is here
typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:92:31: error: redefinition of typedef 'ASN1_BMPSTRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_BMPSTRING;
                              ^
third_party/boringssl/include/openssl/base.h:239:31: note: previous definition is here
typedef struct asn1_string_st ASN1_BMPSTRING;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:93:31: error: redefinition of typedef 'ASN1_UTCTIME' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_UTCTIME;
                              ^
third_party/boringssl/include/openssl/base.h:251:31: note: previous definition is here
typedef struct asn1_string_st ASN1_UTCTIME;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:94:31: error: redefinition of typedef 'ASN1_TIME' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_TIME;
                              ^
third_party/boringssl/include/openssl/base.h:249:31: note: previous definition is here
typedef struct asn1_string_st ASN1_TIME;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:95:31: error: redefinition of typedef 'ASN1_GENERALIZEDTIME' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_GENERALIZEDTIME;
                              ^
third_party/boringssl/include/openssl/base.h:241:31: note: previous definition is here
typedef struct asn1_string_st ASN1_GENERALIZEDTIME;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:96:31: error: redefinition of typedef 'ASN1_VISIBLESTRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_VISIBLESTRING;
                              ^
third_party/boringssl/include/openssl/base.h:253:31: note: previous definition is here
typedef struct asn1_string_st ASN1_VISIBLESTRING;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:97:31: error: redefinition of typedef 'ASN1_UTF8STRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_UTF8STRING;
                              ^
third_party/boringssl/include/openssl/base.h:252:31: note: previous definition is here
typedef struct asn1_string_st ASN1_UTF8STRING;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:98:31: error: redefinition of typedef 'ASN1_STRING' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct asn1_string_st ASN1_STRING;
                              ^
third_party/boringssl/include/openssl/base.h:247:31: note: previous definition is here
typedef struct asn1_string_st ASN1_STRING;
                              ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:99:13: error: redefinition of typedef 'ASN1_BOOLEAN' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef int ASN1_BOOLEAN;
            ^
third_party/boringssl/include/openssl/base.h:233:13: note: previous definition is here
typedef int ASN1_BOOLEAN;
            ^
In file included from src/boringssl/err_data.c:18:
In file included from /opt/local/include/openssl/err.h:122:
/opt/local/include/openssl/ossl_typ.h:100:13: error: redefinition of typedef 'ASN1_NULL' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef int ASN1_NULL;
            ^
third_party/boringssl/include/openssl/base.h:234:13: note: previous definition is here
typedef int ASN1_NULL;
            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [../pip-install-so7ktzhu/grpcio/objs/opt/src/boringssl/err_data.o] Error 1
"

@erickertz
Copy link

I agree—now that we are confident this is a different issue, I'm closing it. Let's track it on a separate issue.

Was there a new issus created for this? Seems there are multiple people experiencing the same error. Thanks.

@erickertz
Copy link

erickertz commented Oct 25, 2018

@Mottl @BillG18 I think I found a workaround for this. The sudo and noprofile suggestions by @lidizheng unfortunately did not work for me. However, installing with sudo, nocache, and pointing directly to the tz did. try like this:

sudo pip install --no-cache-dir --only-binary :all: https://files.pythonhosted.org/packages/be/84/9afa550ae7bfc65a7150f66ecdbf267617a2d584d9f845b4ef7d026a24ad/grpcio-1.16.0.tar.gz

Also note that I completely removed my venv and created a new one before running this. Hope this helps and continues to work.

@Mottl
Copy link

Mottl commented Oct 25, 2018

Thanks. Unfortunately, it doesn't work — the error is the same. As stated above the problem is related to the already installed openssl library.

@erickertz
Copy link

erickertz commented Oct 25, 2018

@Mottl sorry to hear. I did also install boringssl manually before I ran. Not sure if that allowed it to work for me:

brew install wget
brew install cmake
mkdir boringssl
cd boringssl
wget https://boringssl.googlesource.com/boringssl/+archive/master.tar.gz
gunzip -c master.tar.gz | tar xopf -
mkdir build
cd build
cmake ..
make

@nicolasnoble
Copy link
Member

The original issue (no macos support for grpc 1.10.1) was initially resolved. Please do stop confounding multiple issues into a single bug report, that'll only create confusion and frustration, and open a new github issue to explain and discuss the new one instead.

@grpc grpc locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests