Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jiridanek/9bff05ae79b0eb5207821fc524acf12a to your computer and use it in GitHub Desktop.
Save jiridanek/9bff05ae79b0eb5207821fc524acf12a to your computer and use it in GitHub Desktop.
# pip install --user grpcio --no-binary :all:
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip install --user` instead.
Collecting grpcio
Downloading https://files.pythonhosted.org/packages/cf/7a/9744998129fce7e29c5f2d8b0f545913b7383e65d8366fc0ae98d11936af/grpcio-1.28.1.tar.gz (19.5MB)
|████████████████████████████████| 19.5MB 2.0MB/s
Requirement already satisfied: six>=1.5.2 in /root/.local/lib/python3.7/site-packages (from grpcio) (1.14.0)
Installing collected packages: grpcio
Running setup.py install for grpcio ... error
ERROR: Complete output from command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-3uijqxhy/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 /tmp/pip-record-owux4n6b/install-record.txt --single-version-externally-managed --compile --user --prefix=:
ERROR: Found cython-generated files...
running install
running build
running build_py
running build_project_metadata
creating python_build
creating python_build/lib.linux-x86_64-3.7
creating python_build/lib.linux-x86_64-3.7/grpc
copying src/python/grpcio/grpc/_channel.py -> python_build/lib.linux-x86_64-3.7/grpc
copying src/python/grpcio/grpc/_compression.py -> python_build/lib.linux-x86_64-3.7/grpc
copying src/python/grpcio/grpc/__init__.py -> python_build/lib.linux-x86_64-3.7/grpc
copying src/python/grpcio/grpc/_plugin_wrapping.py -> python_build/lib.linux-x86_64-3.7/grpc
copying src/python/grpcio/grpc/_interceptor.py -> python_build/lib.linux-x86_64-3.7/grpc
copying src/python/grpcio/grpc/_server.py -> python_build/lib.linux-x86_64-3.7/grpc
copying src/python/grpcio/grpc/_simple_stubs.py -> python_build/lib.linux-x86_64-3.7/grpc
copying src/python/grpcio/grpc/_utilities.py -> python_build/lib.linux-x86_64-3.7/grpc
copying src/python/grpcio/grpc/_auth.py -> python_build/lib.linux-x86_64-3.7/grpc
copying src/python/grpcio/grpc/_common.py -> python_build/lib.linux-x86_64-3.7/grpc
copying src/python/grpcio/grpc/_grpcio_metadata.py -> python_build/lib.linux-x86_64-3.7/grpc
creating python_build/lib.linux-x86_64-3.7/grpc/beta
copying src/python/grpcio/grpc/beta/interfaces.py -> python_build/lib.linux-x86_64-3.7/grpc/beta
copying src/python/grpcio/grpc/beta/implementations.py -> python_build/lib.linux-x86_64-3.7/grpc/beta
copying src/python/grpcio/grpc/beta/__init__.py -> python_build/lib.linux-x86_64-3.7/grpc/beta
copying src/python/grpcio/grpc/beta/_client_adaptations.py -> python_build/lib.linux-x86_64-3.7/grpc/beta
copying src/python/grpcio/grpc/beta/utilities.py -> python_build/lib.linux-x86_64-3.7/grpc/beta
copying src/python/grpcio/grpc/beta/_metadata.py -> python_build/lib.linux-x86_64-3.7/grpc/beta
copying src/python/grpcio/grpc/beta/_server_adaptations.py -> python_build/lib.linux-x86_64-3.7/grpc/beta
creating python_build/lib.linux-x86_64-3.7/grpc/_cython
copying src/python/grpcio/grpc/_cython/__init__.py -> python_build/lib.linux-x86_64-3.7/grpc/_cython
creating python_build/lib.linux-x86_64-3.7/grpc/experimental
copying src/python/grpcio/grpc/experimental/__init__.py -> python_build/lib.linux-x86_64-3.7/grpc/experimental
copying src/python/grpcio/grpc/experimental/session_cache.py -> python_build/lib.linux-x86_64-3.7/grpc/experimental
copying src/python/grpcio/grpc/experimental/gevent.py -> python_build/lib.linux-x86_64-3.7/grpc/experimental
creating python_build/lib.linux-x86_64-3.7/grpc/framework
copying src/python/grpcio/grpc/framework/__init__.py -> python_build/lib.linux-x86_64-3.7/grpc/framework
creating python_build/lib.linux-x86_64-3.7/grpc/_cython/_cygrpc
copying src/python/grpcio/grpc/_cython/_cygrpc/__init__.py -> python_build/lib.linux-x86_64-3.7/grpc/_cython/_cygrpc
creating python_build/lib.linux-x86_64-3.7/grpc/experimental/aio
copying src/python/grpcio/grpc/experimental/aio/_channel.py -> python_build/lib.linux-x86_64-3.7/grpc/experimental/aio
copying src/python/grpcio/grpc/experimental/aio/__init__.py -> python_build/lib.linux-x86_64-3.7/grpc/experimental/aio
copying src/python/grpcio/grpc/experimental/aio/_typing.py -> python_build/lib.linux-x86_64-3.7/grpc/experimental/aio
copying src/python/grpcio/grpc/experimental/aio/_base_call.py -> python_build/lib.linux-x86_64-3.7/grpc/experimental/aio
copying src/python/grpcio/grpc/experimental/aio/_interceptor.py -> python_build/lib.linux-x86_64-3.7/grpc/experimental/aio
copying src/python/grpcio/grpc/experimental/aio/_server.py -> python_build/lib.linux-x86_64-3.7/grpc/experimental/aio
copying src/python/grpcio/grpc/experimental/aio/_call.py -> python_build/lib.linux-x86_64-3.7/grpc/experimental/aio
copying src/python/grpcio/grpc/experimental/aio/_base_server.py -> python_build/lib.linux-x86_64-3.7/grpc/experimental/aio
copying src/python/grpcio/grpc/experimental/aio/_utils.py -> python_build/lib.linux-x86_64-3.7/grpc/experimental/aio
copying src/python/grpcio/grpc/experimental/aio/_base_channel.py -> python_build/lib.linux-x86_64-3.7/grpc/experimental/aio
creating python_build/lib.linux-x86_64-3.7/grpc/framework/foundation
copying src/python/grpcio/grpc/framework/foundation/__init__.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/foundation
copying src/python/grpcio/grpc/framework/foundation/logging_pool.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/foundation
copying src/python/grpcio/grpc/framework/foundation/abandonment.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/foundation
copying src/python/grpcio/grpc/framework/foundation/stream.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/foundation
copying src/python/grpcio/grpc/framework/foundation/future.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/foundation
copying src/python/grpcio/grpc/framework/foundation/callable_util.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/foundation
copying src/python/grpcio/grpc/framework/foundation/stream_util.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/foundation
creating python_build/lib.linux-x86_64-3.7/grpc/framework/common
copying src/python/grpcio/grpc/framework/common/__init__.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/common
copying src/python/grpcio/grpc/framework/common/style.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/common
copying src/python/grpcio/grpc/framework/common/cardinality.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/common
creating python_build/lib.linux-x86_64-3.7/grpc/framework/interfaces
copying src/python/grpcio/grpc/framework/interfaces/__init__.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/interfaces
creating python_build/lib.linux-x86_64-3.7/grpc/framework/interfaces/face
copying src/python/grpcio/grpc/framework/interfaces/face/__init__.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/interfaces/face
copying src/python/grpcio/grpc/framework/interfaces/face/utilities.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/interfaces/face
copying src/python/grpcio/grpc/framework/interfaces/face/face.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/interfaces/face
creating python_build/lib.linux-x86_64-3.7/grpc/framework/interfaces/base
copying src/python/grpcio/grpc/framework/interfaces/base/__init__.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/interfaces/base
copying src/python/grpcio/grpc/framework/interfaces/base/base.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/interfaces/base
copying src/python/grpcio/grpc/framework/interfaces/base/utilities.py -> python_build/lib.linux-x86_64-3.7/grpc/framework/interfaces/base
creating python_build/lib.linux-x86_64-3.7/grpc/_cython/_credentials
copying src/python/grpcio/grpc/_cython/_credentials/roots.pem -> python_build/lib.linux-x86_64-3.7/grpc/_cython/_credentials
running build_ext
Found cython-generated files...
building 'grpc._cython.cygrpc' extension
creating python_build/temp.linux-x86_64-3.7
creating python_build/temp.linux-x86_64-3.7/src
creating python_build/temp.linux-x86_64-3.7/src/python
creating python_build/temp.linux-x86_64-3.7/src/python/grpcio
creating python_build/temp.linux-x86_64-3.7/src/python/grpcio/grpc
creating python_build/temp.linux-x86_64-3.7/src/python/grpcio/grpc/_cython
creating python_build/temp.linux-x86_64-3.7/src/core
creating python_build/temp.linux-x86_64-3.7/src/core/ext
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/census
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel/health
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel/lb_policy
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel/lb_policy/grpclb
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel/lb_policy/pick_first
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel/lb_policy/round_robin
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel/lb_policy/xds
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel/resolver
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel/resolver/dns
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel/resolver/dns/c_ares
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel/resolver/dns/native
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel/resolver/fake
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel/resolver/sockaddr
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel/resolver/xds
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_channel/xds
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/client_idle
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/deadline
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/http
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/http/client
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/http/message_compress
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/http/server
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/max_age
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/message_size
creating python_build/temp.linux-x86_64-3.7/src/core/ext/filters/workarounds
creating python_build/temp.linux-x86_64-3.7/src/core/ext/transport
creating python_build/temp.linux-x86_64-3.7/src/core/ext/transport/chttp2
creating python_build/temp.linux-x86_64-3.7/src/core/ext/transport/chttp2/alpn
creating python_build/temp.linux-x86_64-3.7/src/core/ext/transport/chttp2/client
creating python_build/temp.linux-x86_64-3.7/src/core/ext/transport/chttp2/client/insecure
creating python_build/temp.linux-x86_64-3.7/src/core/ext/transport/chttp2/client/secure
creating python_build/temp.linux-x86_64-3.7/src/core/ext/transport/chttp2/server
creating python_build/temp.linux-x86_64-3.7/src/core/ext/transport/chttp2/server/insecure
creating python_build/temp.linux-x86_64-3.7/src/core/ext/transport/chttp2/server/secure
creating python_build/temp.linux-x86_64-3.7/src/core/ext/transport/chttp2/transport
creating python_build/temp.linux-x86_64-3.7/src/core/ext/transport/inproc
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/annotations
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/api
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/api/v2
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/api/v2/auth
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/api/v2/cluster
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/api/v2/core
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/api/v2/endpoint
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/api/v2/listener
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/api/v2/route
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/config
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/config/filter
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/config/filter/accesslog
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/config/filter/accesslog/v2
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/config/filter/network
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/config/filter/network/http_connection_manager
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/config/filter/network/http_connection_manager/v2
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/config/listener
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/config/listener/v2
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/service
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/service/discovery
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/service/discovery/v2
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/service/load_stats
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/service/load_stats/v2
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/type
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/type/matcher
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/type/metadata
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/type/metadata/v2
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/type/tracing
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/envoy/type/tracing/v2
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/gogoproto
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/google
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/google/api
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/google/protobuf
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/google/rpc
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/src
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/src/proto
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/src/proto/grpc
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/src/proto/grpc/gcp
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/src/proto/grpc/health
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/src/proto/grpc/health/v1
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/src/proto/grpc/lb
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/src/proto/grpc/lb/v1
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/udpa
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/udpa/annotations
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/udpa/data
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/udpa/data/orca
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/udpa/data/orca/v1
creating python_build/temp.linux-x86_64-3.7/src/core/ext/upb-generated/validate
creating python_build/temp.linux-x86_64-3.7/src/core/lib
creating python_build/temp.linux-x86_64-3.7/src/core/lib/avl
creating python_build/temp.linux-x86_64-3.7/src/core/lib/backoff
creating python_build/temp.linux-x86_64-3.7/src/core/lib/channel
creating python_build/temp.linux-x86_64-3.7/src/core/lib/compression
creating python_build/temp.linux-x86_64-3.7/src/core/lib/debug
creating python_build/temp.linux-x86_64-3.7/src/core/lib/gpr
creating python_build/temp.linux-x86_64-3.7/src/core/lib/gprpp
creating python_build/temp.linux-x86_64-3.7/src/core/lib/http
creating python_build/temp.linux-x86_64-3.7/src/core/lib/iomgr
creating python_build/temp.linux-x86_64-3.7/src/core/lib/iomgr/executor
creating python_build/temp.linux-x86_64-3.7/src/core/lib/iomgr/poller
creating python_build/temp.linux-x86_64-3.7/src/core/lib/json
creating python_build/temp.linux-x86_64-3.7/src/core/lib/profiling
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/context
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/credentials
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/credentials/alts
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/credentials/composite
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/credentials/fake
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/credentials/google_default
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/credentials/iam
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/credentials/jwt
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/credentials/local
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/credentials/oauth2
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/credentials/plugin
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/credentials/ssl
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/credentials/tls
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/security_connector
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/security_connector/alts
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/security_connector/fake
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/security_connector/local
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/security_connector/ssl
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/security_connector/tls
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/transport
creating python_build/temp.linux-x86_64-3.7/src/core/lib/security/util
creating python_build/temp.linux-x86_64-3.7/src/core/lib/slice
creating python_build/temp.linux-x86_64-3.7/src/core/lib/surface
creating python_build/temp.linux-x86_64-3.7/src/core/lib/transport
creating python_build/temp.linux-x86_64-3.7/src/core/lib/uri
creating python_build/temp.linux-x86_64-3.7/src/core/plugin_registry
creating python_build/temp.linux-x86_64-3.7/src/core/tsi
creating python_build/temp.linux-x86_64-3.7/src/core/tsi/alts
creating python_build/temp.linux-x86_64-3.7/src/core/tsi/alts/crypt
creating python_build/temp.linux-x86_64-3.7/src/core/tsi/alts/frame_protector
creating python_build/temp.linux-x86_64-3.7/src/core/tsi/alts/handshaker
creating python_build/temp.linux-x86_64-3.7/src/core/tsi/alts/zero_copy_frame_protector
creating python_build/temp.linux-x86_64-3.7/src/core/tsi/ssl
creating python_build/temp.linux-x86_64-3.7/src/core/tsi/ssl/session_cache
creating python_build/temp.linux-x86_64-3.7/third_party
creating python_build/temp.linux-x86_64-3.7/third_party/abseil-cpp
creating python_build/temp.linux-x86_64-3.7/third_party/abseil-cpp/absl
creating python_build/temp.linux-x86_64-3.7/third_party/abseil-cpp/absl/base
creating python_build/temp.linux-x86_64-3.7/third_party/abseil-cpp/absl/base/internal
creating python_build/temp.linux-x86_64-3.7/third_party/abseil-cpp/absl/numeric
creating python_build/temp.linux-x86_64-3.7/third_party/abseil-cpp/absl/strings
creating python_build/temp.linux-x86_64-3.7/third_party/abseil-cpp/absl/strings/internal
creating python_build/temp.linux-x86_64-3.7/third_party/abseil-cpp/absl/strings/internal/str_format
creating python_build/temp.linux-x86_64-3.7/third_party/abseil-cpp/absl/types
creating python_build/temp.linux-x86_64-3.7/third_party/address_sorting
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/asn1
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/base64
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/bio
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/bn_extra
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/buf
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/bytestring
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/chacha
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/cipher_extra
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/cmac
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/conf
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/curve25519
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/dh
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/digest_extra
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/dsa
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/ec_extra
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/ecdh_extra
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/ecdsa_extra
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/engine
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/err
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/evp
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/fipsmodule
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/hkdf
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/hrss
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/lhash
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/obj
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/pem
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/pkcs7
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/pkcs8
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/poly1305
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/pool
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/rand_extra
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/rc4
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/rsa_extra
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/siphash
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/stack
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/x509
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/crypto/x509v3
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/ssl
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/third_party
creating python_build/temp.linux-x86_64-3.7/third_party/boringssl-with-bazel/src/third_party/fiat
creating python_build/temp.linux-x86_64-3.7/third_party/cares
creating python_build/temp.linux-x86_64-3.7/third_party/cares/cares
creating python_build/temp.linux-x86_64-3.7/third_party/upb
creating python_build/temp.linux-x86_64-3.7/third_party/upb/upb
creating python_build/temp.linux-x86_64-3.7/third_party/zlib
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DOPENSSL_NO_ASM=1 -D_WIN32_WINNT=1536 -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1 -DGRPC_ENABLE_FORK_SUPPORT=1 -DPyMODINIT_FUNC=extern "C" __attribute__((visibility ("default"))) PyObject* -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 -Isrc/python/grpcio -Iinclude -I. -Ithird_party/abseil-cpp -Ithird_party/address_sorting/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/boringssl-with-bazel/src/include -Ithird_party/upb -Isrc/core/ext/upb-generated -Ithird_party/zlib -I/usr/include/python3.7m -c src/python/grpcio/grpc/_cython/cygrpc.cpp -o python_build/temp.linux-x86_64-3.7/src/python/grpcio/grpc/_cython/cygrpc.o -std=c++11 -std=gnu99 -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread
gcc: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory
compilation terminated.
creating tmp
creating tmp/tmpxx22b7uw
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.7m -c /tmp/tmpxx22b7uw/a.c -o tmp/tmpxx22b7uw/a.o
/tmp/tmpxx22b7uw/a.c:2:10: fatal error: Python.h: No such file or directory
2 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
Could not find <Python.h>. This could mean the following:
* You're on Ubuntu and haven't run `apt-get install python-dev`.
* You're on RHEL/Fedora and haven't run `yum install python-devel` or
`dnf install python-devel` (make sure you also have redhat-rpm-config
installed)
* You're on Mac OS X and the usual Python framework was somehow corrupted
(check your environment variables or try re-installing?)
* You're on Windows and your Python installation was somehow corrupted
(check your environment variables or try re-installing?)
Traceback (most recent call last):
File "/usr/lib64/python3.7/distutils/unixccompiler.py", line 127, in _compile
extra_postargs)
File "/tmp/pip-install-3uijqxhy/grpcio/src/python/grpcio/_spawn_patch.py", line 54, in _commandfile_spawn
_classic_spawn(self, command)
File "/usr/lib64/python3.7/distutils/ccompiler.py", line 909, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/usr/lib64/python3.7/distutils/spawn.py", line 36, in spawn
_spawn_posix(cmd, search_path, dry_run=dry_run)
File "/usr/lib64/python3.7/distutils/spawn.py", line 159, in _spawn_posix
% (cmd, exit_status))
distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/pip-install-3uijqxhy/grpcio/src/python/grpcio/commands.py", line 262, in build_extensions
build_ext.build_ext.build_extensions(self)
File "/usr/lib64/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/usr/lib64/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/usr/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 205, in build_extension
_build_ext.build_extension(self, ext)
File "/usr/lib64/python3.7/distutils/command/build_ext.py", line 534, in build_extension
depends=ext.depends)
File "/usr/lib64/python3.7/distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/tmp/pip-install-3uijqxhy/grpcio/src/python/grpcio/commands.py", line 246, in new_compile
pp_opts)
File "/usr/lib64/python3.7/distutils/unixccompiler.py", line 129, in _compile
raise CompileError(msg)
distutils.errors.CompileError: command 'gcc' failed with exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-3uijqxhy/grpcio/setup.py", line 400, in <module>
cmdclass=COMMAND_CLASS,
File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib64/python3.7/distutils/command/install.py", line 556, in run
self.run_command('build')
File "/usr/lib64/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib64/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib64/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/usr/lib64/python3.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/tmp/pip-install-3uijqxhy/grpcio/src/python/grpcio/commands.py", line 265, in build_extensions
support.diagnose_build_ext_error(self, error, formatted_exception)
File "/tmp/pip-install-3uijqxhy/grpcio/src/python/grpcio/support.py", line 111, in diagnose_build_ext_error
diagnostic(build_ext, error)
File "/tmp/pip-install-3uijqxhy/grpcio/src/python/grpcio/support.py", line 70, in diagnose_compile_error
_expect_compile(build_ext.compiler, c_check, message)
File "/tmp/pip-install-3uijqxhy/grpcio/src/python/grpcio/support.py", line 64, in _expect_compile
error_message))
commands.CommandError: Diagnostics found a compilation environment issue:
Could not find <Python.h>. This could mean the following:
* You're on Ubuntu and haven't run `apt-get install python-dev`.
* You're on RHEL/Fedora and haven't run `yum install python-devel` or
`dnf install python-devel` (make sure you also have redhat-rpm-config
installed)
* You're on Mac OS X and the usual Python framework was somehow corrupted
(check your environment variables or try re-installing?)
* You're on Windows and your Python installation was somehow corrupted
(check your environment variables or try re-installing?)
----------------------------------------
ERROR: Command "/usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-3uijqxhy/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 /tmp/pip-record-owux4n6b/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-3uijqxhy/grpcio/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment