Cannot install tensorflow on Jetson nano

I am trying to follow this tutorial:

https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html

but when I run this command:

sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v42 tensorflow-gpu

I get the following errors:

mojito@mojito-desktop:~$ sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v42 tensorflow-gpu
[sudo] password for mojito: 
WARNING: The directory '/home/mojito/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/home/mojito/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Looking in indexes: https://pypi.org/simple, https://developer.download.nvidia.com/compute/redist/jp/v42
Collecting tensorflow-gpu
  Downloading https://developer.download.nvidia.com/compute/redist/jp/v42/tensorflow-gpu/tensorflow_gpu-1.14.0%2Bnv19.9-cp36-cp36m-linux_aarch64.whl (225.3MB)
     |████████████████████████████████| 225.3MB 764kB/s 
Requirement already satisfied: wheel>=0.26 in /usr/local/lib/python3.6/dist-packages (from tensorflow-gpu) (0.33.6)
Collecting termcolor>=1.1.0
  Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
Requirement already satisfied: tensorflow-estimator<1.15.0rc0,>=1.14.0rc0 in /usr/local/lib/python3.6/dist-packages (from tensorflow-gpu) (1.14.0)
Collecting tensorboard<1.15.0,>=1.14.0
  Downloading https://files.pythonhosted.org/packages/91/2d/2ed263449a078cd9c8a9ba50ebd50123adf1f8cfbea1492f9084169b89d9/tensorboard-1.14.0-py3-none-any.whl (3.1MB)
     |████████████████████████████████| 3.2MB 637kB/s 
Collecting keras-preprocessing>=1.0.5
  Downloading https://files.pythonhosted.org/packages/28/6a/8c1f62c37212d9fc441a7e26736df51ce6f0e38455816445471f10da4f0a/Keras_Preprocessing-1.1.0-py2.py3-none-any.whl (41kB)
     |████████████████████████████████| 51kB 966kB/s 
Collecting keras-applications>=1.0.6
  Downloading https://files.pythonhosted.org/packages/71/e3/19762fdfc62877ae9102edf6342d71b28fbfd9dea3d2f96a882ce099b03f/Keras_Applications-1.0.8-py3-none-any.whl (50kB)
     |████████████████████████████████| 51kB 1.2MB/s 
Collecting grpcio>=1.8.6
  Downloading https://files.pythonhosted.org/packages/0c/7b/97fce81c5f9bbe989c2f11e9d179b953f56c765af9427005e7d2f58277aa/grpcio-1.24.1.tar.gz (14.1MB)
     |████████████████████████████████| 14.1MB 503kB/s 
Requirement already satisfied: six>=1.10.0 in /usr/lib/python3/dist-packages (from tensorflow-gpu) (1.11.0)
Requirement already satisfied: protobuf>=3.6.1 in /usr/local/lib/python3.6/dist-packages (from tensorflow-gpu) (3.10.0)
Collecting wrapt>=1.11.1
  Downloading https://files.pythonhosted.org/packages/23/84/323c2415280bc4fc880ac5050dddfb3c8062c2552b34c2e512eb4aa68f79/wrapt-1.11.2.tar.gz
Collecting google-pasta>=0.1.6
  Downloading https://files.pythonhosted.org/packages/d0/33/376510eb8d6246f3c30545f416b2263eee461e40940c2a4413c711bdf62d/google_pasta-0.1.7-py3-none-any.whl (52kB)
     |████████████████████████████████| 61kB 1.5MB/s 
Collecting numpy<2.0,>=1.14.5
  Downloading https://files.pythonhosted.org/packages/b6/d6/be8f975f5322336f62371c9abeb936d592c98c047ad63035f1b38ae08efe/numpy-1.17.3.zip (6.4MB)
     |████████████████████████████████| 6.4MB 514kB/s 
Collecting astor>=0.6.0
  Downloading https://files.pythonhosted.org/packages/d1/4f/950dfae467b384fc96bc6469de25d832534f6b4441033c39f914efd13418/astor-0.8.0-py2.py3-none-any.whl
Requirement already satisfied: absl-py>=0.7.0 in /usr/local/lib/python3.6/dist-packages (from tensorflow-gpu) (0.8.1)
Collecting gast==0.2.2
  Downloading https://files.pythonhosted.org/packages/4e/35/11749bf99b2d4e3cceb4d55ca22590b0d7c2c62b9de38ac4a4a7f4687421/gast-0.2.2.tar.gz
Requirement already satisfied: setuptools>=41.0.0 in /usr/local/lib/python3.6/dist-packages (from tensorboard<1.15.0,>=1.14.0->tensorflow-gpu) (41.4.0)
Requirement already satisfied: werkzeug>=0.11.15 in /usr/local/lib/python3.6/dist-packages (from tensorboard<1.15.0,>=1.14.0->tensorflow-gpu) (0.16.0)
Collecting markdown>=2.6.8
  Downloading https://files.pythonhosted.org/packages/c0/4e/fd492e91abdc2d2fcb70ef453064d980688762079397f779758e055f6575/Markdown-3.1.1-py2.py3-none-any.whl (87kB)
     |████████████████████████████████| 92kB 143kB/s 
Collecting h5py
  Downloading https://files.pythonhosted.org/packages/5f/97/a58afbcf40e8abecededd9512978b4e4915374e5b80049af082f49cebe9a/h5py-2.10.0.tar.gz (301kB)
     |████████████████████████████████| 307kB 274kB/s 
Building wheels for collected packages: termcolor, grpcio, wrapt, numpy, gast, h5py
  Building wheel for termcolor (setup.py) ... done
  Created wheel for termcolor: filename=termcolor-1.1.0-cp36-none-any.whl size=4832 sha256=3be1e170f86c0f43531ed667ac50ce962e62fa298d09c7fb4221e2654b1b304e
  Stored in directory: /home/mojito/.cache/pip/wheels/7c/06/54/bc84598ba1daf8f970247f550b175aaaee85f68b4b0c5ab2c6
  Building wheel for grpcio (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uzmrzqtj/grpcio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-uzmrzqtj/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 /tmp/pip-wheel-eyrrnghs --python-tag cp36
       cwd: /tmp/pip-install-uzmrzqtj/grpcio/
  Complete output (340 lines):
  Found cython-generated files...
  running bdist_wheel
  running build
  running build_py
  running build_project_metadata
  creating python_build
  creating python_build/lib.linux-aarch64-3.6
  creating python_build/lib.linux-aarch64-3.6/grpc
  copying src/python/grpcio/grpc/_interceptor.py -> python_build/lib.linux-aarch64-3.6/grpc
  copying src/python/grpcio/grpc/_server.py -> python_build/lib.linux-aarch64-3.6/grpc
  copying src/python/grpcio/grpc/_compression.py -> python_build/lib.linux-aarch64-3.6/grpc
  copying src/python/grpcio/grpc/_auth.py -> python_build/lib.linux-aarch64-3.6/grpc
  copying src/python/grpcio/grpc/_common.py -> python_build/lib.linux-aarch64-3.6/grpc
  copying src/python/grpcio/grpc/_channel.py -> python_build/lib.linux-aarch64-3.6/grpc
  copying src/python/grpcio/grpc/_utilities.py -> python_build/lib.linux-aarch64-3.6/grpc
  copying src/python/grpcio/grpc/_plugin_wrapping.py -> python_build/lib.linux-aarch64-3.6/grpc
  copying src/python/grpcio/grpc/_grpcio_metadata.py -> python_build/lib.linux-aarch64-3.6/grpc
  copying src/python/grpcio/grpc/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc
  creating python_build/lib.linux-aarch64-3.6/grpc/beta
  copying src/python/grpcio/grpc/beta/interfaces.py -> python_build/lib.linux-aarch64-3.6/grpc/beta
  copying src/python/grpcio/grpc/beta/utilities.py -> python_build/lib.linux-aarch64-3.6/grpc/beta
  copying src/python/grpcio/grpc/beta/implementations.py -> python_build/lib.linux-aarch64-3.6/grpc/beta
  copying src/python/grpcio/grpc/beta/_metadata.py -> python_build/lib.linux-aarch64-3.6/grpc/beta
  copying src/python/grpcio/grpc/beta/_server_adaptations.py -> python_build/lib.linux-aarch64-3.6/grpc/beta
  copying src/python/grpcio/grpc/beta/_client_adaptations.py -> python_build/lib.linux-aarch64-3.6/grpc/beta
  copying src/python/grpcio/grpc/beta/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/beta
  creating python_build/lib.linux-aarch64-3.6/grpc/_cython
  copying src/python/grpcio/grpc/_cython/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/_cython
  creating python_build/lib.linux-aarch64-3.6/grpc/experimental
  copying src/python/grpcio/grpc/experimental/gevent.py -> python_build/lib.linux-aarch64-3.6/grpc/experimental
  copying src/python/grpcio/grpc/experimental/session_cache.py -> python_build/lib.linux-aarch64-3.6/grpc/experimental
  copying src/python/grpcio/grpc/experimental/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/experimental
  creating python_build/lib.linux-aarch64-3.6/grpc/framework
  copying src/python/grpcio/grpc/framework/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/framework
  creating python_build/lib.linux-aarch64-3.6/grpc/_cython/_cygrpc
  copying src/python/grpcio/grpc/_cython/_cygrpc/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/_cython/_cygrpc
  creating python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces
  copying src/python/grpcio/grpc/framework/interfaces/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces
  creating python_build/lib.linux-aarch64-3.6/grpc/framework/common
  copying src/python/grpcio/grpc/framework/common/style.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/common
  copying src/python/grpcio/grpc/framework/common/cardinality.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/common
  copying src/python/grpcio/grpc/framework/common/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/common
  creating python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/callable_util.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/stream.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/logging_pool.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/abandonment.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/future.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/stream_util.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
  creating python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/base
  copying src/python/grpcio/grpc/framework/interfaces/base/utilities.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/base
  copying src/python/grpcio/grpc/framework/interfaces/base/base.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/base
  copying src/python/grpcio/grpc/framework/interfaces/base/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/base
  creating python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/face
  copying src/python/grpcio/grpc/framework/interfaces/face/face.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/face
  copying src/python/grpcio/grpc/framework/interfaces/face/utilities.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/face
  copying src/python/grpcio/grpc/framework/interfaces/face/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/face
  creating python_build/lib.linux-aarch64-3.6/grpc/_cython/_credentials
  copying src/python/grpcio/grpc/_cython/_credentials/roots.pem -> python_build/lib.linux-aarch64-3.6/grpc/_cython/_credentials
  running build_ext
  Found cython-generated files...
  building 'grpc._cython.cygrpc' extension
  creating python_build/temp.linux-aarch64-3.6
  creating python_build/temp.linux-aarch64-3.6/src
  creating python_build/temp.linux-aarch64-3.6/src/python
  creating python_build/temp.linux-aarch64-3.6/src/python/grpcio
  creating python_build/temp.linux-aarch64-3.6/src/python/grpcio/grpc
  creating python_build/temp.linux-aarch64-3.6/src/python/grpcio/grpc/_cython
  creating python_build/temp.linux-aarch64-3.6/third_party
  creating python_build/temp.linux-aarch64-3.6/third_party/address_sorting
  creating python_build/temp.linux-aarch64-3.6/src/core
  creating python_build/temp.linux-aarch64-3.6/src/core/lib
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/gpr
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/gprpp
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/profiling
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/surface
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/avl
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/backoff
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/channel
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/compression
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/debug
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/http
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/iomgr
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/iomgr/executor
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/json
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/slice
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/transport
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/uri
  creating python_build/temp.linux-aarch64-3.6/src/core/ext
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/server
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/server/secure
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/transport
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/alpn
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/http
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/http/client
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/http/message_compress
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/http/server
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/context
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/alts
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/composite
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/fake
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/google_default
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/iam
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/jwt
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/local
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/oauth2
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/plugin
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/ssl
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/tls
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/security_connector
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/security_connector/alts
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/security_connector/fake
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/security_connector/local
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/security_connector/ssl
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/security_connector/tls
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/transport
  creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/util
  creating python_build/temp.linux-aarch64-3.6/src/core/tsi
  creating python_build/temp.linux-aarch64-3.6/src/core/tsi/alts
  creating python_build/temp.linux-aarch64-3.6/src/core/tsi/alts/crypt
  creating python_build/temp.linux-aarch64-3.6/src/core/tsi/alts/frame_protector
  creating python_build/temp.linux-aarch64-3.6/src/core/tsi/alts/handshaker
  creating python_build/temp.linux-aarch64-3.6/src/core/tsi/alts/zero_copy_frame_protector
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src/proto
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src/proto/grpc
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src/proto/grpc/gcp
  creating python_build/temp.linux-aarch64-3.6/third_party/upb
  creating python_build/temp.linux-aarch64-3.6/third_party/upb/upb
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/client
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/client/insecure
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/health
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/deadline
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src/proto/grpc/health
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src/proto/grpc/health/v1
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/udpa
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/udpa/data
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/udpa/data/orca
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/udpa/data/orca/v1
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/gogoproto
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/validate
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/google
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/google/api
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/google/protobuf
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/google/rpc
  creating python_build/temp.linux-aarch64-3.6/src/core/tsi/ssl
  creating python_build/temp.linux-aarch64-3.6/src/core/tsi/ssl/session_cache
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/client/secure
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/server/insecure
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/inproc
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/lb_policy
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/lb_policy/grpclb
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src/proto/grpc/lb
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src/proto/grpc/lb/v1
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/resolver
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/resolver/fake
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/lb_policy/xds
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/api
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/api/v2
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/api/v2/auth
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/api/v2/cluster
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/api/v2/endpoint
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/service
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/service/discovery
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/service/discovery/v2
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/service/load_stats
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/service/load_stats/v2
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/api/v2/core
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/type
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/lb_policy/pick_first
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/lb_policy/round_robin
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/resolver/dns
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/resolver/dns/c_ares
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/resolver/dns/native
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/resolver/sockaddr
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/resolver/xds
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/census
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_idle
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/max_age
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/message_size
  creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/workarounds
  creating python_build/temp.linux-aarch64-3.6/src/core/plugin_registry
  creating python_build/temp.linux-aarch64-3.6/src/boringssl
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/asn1
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/base64
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/bio
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/bn_extra
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/buf
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/bytestring
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/chacha
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/cipher_extra
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/cmac
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/conf
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/curve25519
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/dh
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/digest_extra
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/dsa
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/ec_extra
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/ecdh
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/ecdsa_extra
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/engine
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/err
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/evp
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/fipsmodule
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/hkdf
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/lhash
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/obj
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/pem
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/pkcs7
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/pkcs8
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/poly1305
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/pool
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/rand_extra
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/rc4
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/rsa_extra
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/stack
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/x509
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/x509v3
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/ssl
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/third_party
  creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/third_party/fiat
  creating python_build/temp.linux-aarch64-3.6/third_party/zlib
  creating python_build/temp.linux-aarch64-3.6/third_party/cares
  creating python_build/temp.linux-aarch64-3.6/third_party/cares/cares
  aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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/address_sorting/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/boringssl/include -Ithird_party/upb -Isrc/core/ext/upb-generated -Ithird_party/zlib -I/usr/include/python3.6m -c src/python/grpcio/grpc/_cython/cygrpc.cpp -o python_build/temp.linux-aarch64-3.6/src/python/grpcio/grpc/_cython/cygrpc.o -std=c++11 -std=gnu99 -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread
  cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++
  src/python/grpcio/grpc/_cython/cygrpc.cpp:837:10: fatal error: Python.h: No such file or directory
   #include "Python.h"
            ^~~~~~~~~~
  compilation terminated.
  creating tmp
  creating tmp/tmpxwoylyup
  aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c /tmp/tmpxwoylyup/a.c -o tmp/tmpxwoylyup/a.o
  /tmp/tmpxwoylyup/a.c:2:10: fatal error: Python.h: No such file or directory
   #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/lib/python3.6/distutils/unixccompiler.py", line 118, in _compile
      extra_postargs)
    File "/tmp/pip-install-uzmrzqtj/grpcio/src/python/grpcio/_spawn_patch.py", line 54, in _commandfile_spawn
      _classic_spawn(self, command)
    File "/usr/lib/python3.6/distutils/ccompiler.py", line 909, in spawn
      spawn(cmd, dry_run=self.dry_run)
    File "/usr/lib/python3.6/distutils/spawn.py", line 36, in spawn
      _spawn_posix(cmd, search_path, dry_run=dry_run)
    File "/usr/lib/python3.6/distutils/spawn.py", line 159, in _spawn_posix
      % (cmd, exit_status))
  distutils.errors.DistutilsExecError: command 'aarch64-linux-gnu-gcc' failed with exit status 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/tmp/pip-install-uzmrzqtj/grpcio/src/python/grpcio/commands.py", line 262, in build_extensions
      build_ext.build_ext.build_extensions(self)
    File "/usr/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
      self._build_extensions_serial()
    File "/usr/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
      self.build_extension(ext)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/command/build_ext.py", line 205, in build_extension
      _build_ext.build_extension(self, ext)
    File "/usr/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
      depends=ext.depends)
    File "/usr/lib/python3.6/distutils/ccompiler.py", line 574, in compile
      self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
    File "/usr/lib/python3.6/distutils/unixccompiler.py", line 120, in _compile
      raise CompileError(msg)
  distutils.errors.CompileError: command 'aarch64-linux-gnu-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-uzmrzqtj/grpcio/setup.py", line 379, in <module>
      cmdclass=COMMAND_CLASS,
    File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.6/dist-packages/wheel/bdist_wheel.py", line 192, in run
      self.run_command('build')
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.6/dist-packages/setuptools/command/build_ext.py", line 84, in run
      _build_ext.run(self)
    File "/usr/lib/python3.6/distutils/command/build_ext.py", line 339, in run
      self.build_extensions()
    File "/tmp/pip-install-uzmrzqtj/grpcio/src/python/grpcio/commands.py", line 265, in build_extensions
      support.diagnose_build_ext_error(self, error, formatted_exception)
    File "/tmp/pip-install-uzmrzqtj/grpcio/src/python/grpcio/support.py", line 111, in diagnose_build_ext_error
      diagnostic(build_ext, error)
    File "/tmp/pip-install-uzmrzqtj/grpcio/src/python/grpcio/support.py", line 70, in diagnose_compile_error
      _expect_compile(build_ext.compiler, c_check, message)
    File "/tmp/pip-install-uzmrzqtj/grpcio/src/python/grpcio/support.py", line 64, in _expect_compile
      .format(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: Failed building wheel for grpcio
  Running setup.py clean for grpcio
  Building wheel for wrapt (setup.py) ... done
  Created wheel for wrapt: filename=wrapt-1.11.2-cp36-none-any.whl size=19590 sha256=0fbd49c603637c5a371660650c7c2b3b72ecbb8188488b3b166cff593054a7a4
  Stored in directory: /home/mojito/.cache/pip/wheels/d7/de/2e/efa132238792efb6459a96e85916ef8597fcb3d2ae51590dfd
  Building wheel for numpy (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uzmrzqtj/numpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-uzmrzqtj/numpy/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 /tmp/pip-wheel-29posl39 --python-tag cp36
       cwd: /tmp/pip-install-uzmrzqtj/numpy/
  Complete output (341 lines):
  Running from numpy source directory.
  blas_opt_info:
  blas_mkl_info:
  customize UnixCCompiler
    libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE
  
  blis_info:
  customize UnixCCompiler
    libraries blis not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE
  
  openblas_info:
  customize UnixCCompiler
  customize UnixCCompiler
    libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE
  
  atlas_3_10_blas_threads_info:
  Setting PTATLAS=ATLAS
  customize UnixCCompiler
    libraries tatlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE
  
  atlas_3_10_blas_info:
  customize UnixCCompiler
    libraries satlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE
  
  atlas_blas_threads_info:
  Setting PTATLAS=ATLAS
  customize UnixCCompiler
    libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE
  
  atlas_blas_info:
  customize UnixCCompiler
    libraries f77blas,cblas,atlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE
  
  accelerate_info:
    NOT AVAILABLE
  
  /tmp/pip-install-uzmrzqtj/numpy/numpy/distutils/system_info.py:690: UserWarning:
      Optimized (vendor) Blas libraries are not found.
      Falls back to netlib Blas library which has worse performance.
      A better performance should be easily gained by switching
      Blas library.
    self.calc_info()
  blas_info:
  customize UnixCCompiler
    libraries blas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE
  
  /tmp/pip-install-uzmrzqtj/numpy/numpy/distutils/system_info.py:690: UserWarning:
      Blas (http://www.netlib.org/blas/) libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [blas]) or by setting
      the BLAS environment variable.
    self.calc_info()
  blas_src_info:
    NOT AVAILABLE
  
  /tmp/pip-install-uzmrzqtj/numpy/numpy/distutils/system_info.py:690: UserWarning:
      Blas (http://www.netlib.org/blas/) sources not found.
      Directories to search for the sources can be specified in the
      numpy/distutils/site.cfg file (section [blas_src]) or by setting
      the BLAS_SRC environment variable.
    self.calc_info()
    NOT AVAILABLE
  
  /bin/sh: 1: svnversion: not found
  non-existing path in 'numpy/distutils': 'site.cfg'
  lapack_opt_info:
  lapack_mkl_info:
  customize UnixCCompiler
    libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE
  
  openblas_lapack_info:
  customize UnixCCompiler
  customize UnixCCompiler
    libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE
  
  openblas_clapack_info:
  customize UnixCCompiler
  customize UnixCCompiler
    libraries openblas,lapack not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE
  
  flame_info:
  customize UnixCCompiler
    libraries flame not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE
  
  atlas_3_10_threads_info:
  Setting PTATLAS=ATLAS
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/local/lib
  customize UnixCCompiler
    libraries tatlas,tatlas not found in /usr/local/lib
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/lib
  customize UnixCCompiler
    libraries tatlas,tatlas not found in /usr/lib
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/lib/aarch64-linux-gnu
  customize UnixCCompiler
    libraries tatlas,tatlas not found in /usr/lib/aarch64-linux-gnu
  <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
    NOT AVAILABLE
  
  atlas_3_10_info:
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/local/lib
  customize UnixCCompiler
    libraries satlas,satlas not found in /usr/local/lib
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/lib
  customize UnixCCompiler
    libraries satlas,satlas not found in /usr/lib
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/lib/aarch64-linux-gnu
  customize UnixCCompiler
    libraries satlas,satlas not found in /usr/lib/aarch64-linux-gnu
  <class 'numpy.distutils.system_info.atlas_3_10_info'>
    NOT AVAILABLE
  
  atlas_threads_info:
  Setting PTATLAS=ATLAS
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/local/lib
  customize UnixCCompiler
    libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/lib
  customize UnixCCompiler
    libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/lib/aarch64-linux-gnu
  customize UnixCCompiler
    libraries ptf77blas,ptcblas,atlas not found in /usr/lib/aarch64-linux-gnu
  <class 'numpy.distutils.system_info.atlas_threads_info'>
    NOT AVAILABLE
  
  atlas_info:
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/local/lib
  customize UnixCCompiler
    libraries f77blas,cblas,atlas not found in /usr/local/lib
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/lib
  customize UnixCCompiler
    libraries f77blas,cblas,atlas not found in /usr/lib
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/lib/aarch64-linux-gnu
  customize UnixCCompiler
    libraries f77blas,cblas,atlas not found in /usr/lib/aarch64-linux-gnu
  <class 'numpy.distutils.system_info.atlas_info'>
    NOT AVAILABLE
  
  lapack_info:
  customize UnixCCompiler
    libraries lapack not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
    NOT AVAILABLE
  
  /tmp/pip-install-uzmrzqtj/numpy/numpy/distutils/system_info.py:1712: UserWarning:
      Lapack (http://www.netlib.org/lapack/) libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [lapack]) or by setting
      the LAPACK environment variable.
    if getattr(self, '_calc_info_{}'.format(lapack))():
  lapack_src_info:
    NOT AVAILABLE
  
  /tmp/pip-install-uzmrzqtj/numpy/numpy/distutils/system_info.py:1712: UserWarning:
      Lapack (http://www.netlib.org/lapack/) sources not found.
      Directories to search for the sources can be specified in the
      numpy/distutils/site.cfg file (section [lapack_src]) or by setting
      the LAPACK_SRC environment variable.
    if getattr(self, '_calc_info_{}'.format(lapack))():
    NOT AVAILABLE
  
  /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'define_macros'
    warnings.warn(msg)
  running bdist_wheel
  running build
  running config_cc
  unifing config_cc, config, build_clib, build_ext, build commands --compiler options
  running config_fc
  unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
  running build_src
  build_src
  building py_modules sources
  creating build
  creating build/src.linux-aarch64-3.6
  creating build/src.linux-aarch64-3.6/numpy
  creating build/src.linux-aarch64-3.6/numpy/distutils
  building library "npymath" sources
  get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
  customize Gnu95FCompiler
  Could not locate executable gfortran
  Could not locate executable f95
  customize IntelFCompiler
  Could not locate executable ifort
  Could not locate executable ifc
  customize LaheyFCompiler
  Could not locate executable lf95
  customize PGroupFCompiler
  Could not locate executable pgfortran
  customize AbsoftFCompiler
  Could not locate executable f90
  Could not locate executable f77
  customize NAGFCompiler
  customize VastFCompiler
  customize CompaqFCompiler
  Could not locate executable fort
  customize IntelItaniumFCompiler
  Could not locate executable efort
  Could not locate executable efc
  customize IntelEM64TFCompiler
  customize GnuFCompiler
  Could not locate executable g77
  customize G95FCompiler
  Could not locate executable g95
  customize PathScaleFCompiler
  Could not locate executable pathf95
  customize NAGFORCompiler
  Could not locate executable nagfor
  don't know how to compile Fortran code on platform 'posix'
  C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
  
  compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
  aarch64-linux-gnu-gcc: _configtest.c
  aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
  success!
  removing: _configtest.c _configtest.o _configtest.o.d _configtest
  C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
  
  compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
  aarch64-linux-gnu-gcc: _configtest.c
  _configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
   int exp (void);
       ^~~
  aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
  _configtest.o: In function `main':
  /tmp/pip-install-uzmrzqtj/numpy/_configtest.c:6: undefined reference to `exp'
  collect2: error: ld returned 1 exit status
  failure.
  removing: _configtest.c _configtest.o _configtest.o.d
  C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
  
  compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
  aarch64-linux-gnu-gcc: _configtest.c
  _configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
   int exp (void);
       ^~~
  aarch64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
  success!
  removing: _configtest.c _configtest.o _configtest.o.d _configtest
  creating build/src.linux-aarch64-3.6/numpy/core
  creating build/src.linux-aarch64-3.6/numpy/core/src
  creating build/src.linux-aarch64-3.6/numpy/core/src/npymath
  conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npymath/npy_math_internal.h
    adding 'build/src.linux-aarch64-3.6/numpy/core/src/npymath' to include_dirs.
  conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npymath/ieee754.c
  conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npymath/npy_math_complex.c
  None - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/src/npymath/npy_math_internal.h']
  building library "npysort" sources
  creating build/src.linux-aarch64-3.6/numpy/core/src/common
  conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/common/npy_sort.h
    adding 'build/src.linux-aarch64-3.6/numpy/core/src/common' to include_dirs.
  creating build/src.linux-aarch64-3.6/numpy/core/src/npysort
  conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npysort/quicksort.c
  conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npysort/mergesort.c
  conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npysort/timsort.c
  conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npysort/heapsort.c
  conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npysort/radixsort.c
  conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/common/npy_partition.h
  conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npysort/selection.c
  conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/common/npy_binsearch.h
  conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/npysort/binsearch.c
  None - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/src/common/npy_sort.h', 'build/src.linux-aarch64-3.6/numpy/core/src/common/npy_partition.h', 'build/src.linux-aarch64-3.6/numpy/core/src/common/npy_binsearch.h']
  building extension "numpy.core._dummy" sources
  Generating build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h
  C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
  
  compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
  aarch64-linux-gnu-gcc: _configtest.c
  _configtest.c:1:10: fatal error: Python.h: No such file or directory
   #include <Python.h>
            ^~~~~~~~~~
  compilation terminated.
  failure.
  removing: _configtest.c _configtest.o
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-uzmrzqtj/numpy/setup.py", line 443, in <module>
      setup_package()
    File "/tmp/pip-install-uzmrzqtj/numpy/setup.py", line 435, in setup_package
      setup(**metadata)
    File "/tmp/pip-install-uzmrzqtj/numpy/numpy/distutils/core.py", line 171, in setup
      return old_setup(**new_attr)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.6/dist-packages/wheel/bdist_wheel.py", line 192, in run
      self.run_command('build')
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/tmp/pip-install-uzmrzqtj/numpy/numpy/distutils/command/build.py", line 47, in run
      old_build.run(self)
    File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/tmp/pip-install-uzmrzqtj/numpy/numpy/distutils/command/build_src.py", line 142, in run
      self.build_sources()
    File "/tmp/pip-install-uzmrzqtj/numpy/numpy/distutils/command/build_src.py", line 159, in build_sources
      self.build_extension_sources(ext)
    File "/tmp/pip-install-uzmrzqtj/numpy/numpy/distutils/command/build_src.py", line 316, in build_extension_sources
      sources = self.generate_sources(sources, ext)
    File "/tmp/pip-install-uzmrzqtj/numpy/numpy/distutils/command/build_src.py", line 369, in generate_sources
      source = func(extension, build_dir)
    File "numpy/core/setup.py", line 430, in generate_config_h
      moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
    File "numpy/core/setup.py", line 49, in check_types
      out = check_types(*a, **kw)
    File "numpy/core/setup.py", line 288, in check_types
      "install {0}-dev|{0}-devel.".format(python))
  SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
  ----------------------------------------
  ERROR: Failed building wheel for numpy
  Running setup.py clean for numpy
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uzmrzqtj/numpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-uzmrzqtj/numpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
       cwd: /tmp/pip-install-uzmrzqtj/numpy
  Complete output (10 lines):
  Running from numpy source directory.
  
  `setup.py clean` is not supported, use one of the following instead:
  
    - `git clean -xdf` (cleans all files)
    - `git clean -Xdf` (cleans all versioned files, doesn't touch
                        files that aren't checked into the git repo)
  
  Add `--force` to your command to use it anyway if you must (unsupported).
  
  ----------------------------------------
  ERROR: Failed cleaning build dir for numpy
  Building wheel for gast (setup.py) ... done
  Created wheel for gast: filename=gast-0.2.2-cp36-none-any.whl size=7540 sha256=5ce79ff48d8cd6019f7fe33e879e5629c20fe3540fb732993914041470b90061
  Stored in directory: /home/mojito/.cache/pip/wheels/5c/2e/7e/a1d4d4fcebe6c381f378ce7743a3ced3699feb89bcfbdadadd
  Building wheel for h5py (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uzmrzqtj/h5py/setup.py'"'"'; __file__='"'"'/tmp/pip-install-uzmrzqtj/h5py/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 /tmp/pip-wheel-ohkm9ki2 --python-tag cp36
       cwd: /tmp/pip-install-uzmrzqtj/h5py/
  Complete output (163 lines):
  Unable to find pgen, not compiling formal grammar.
  Compiling /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Plex/Scanners.py because it changed.
  Compiling /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Plex/Actions.py because it changed.
  Compiling /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Compiler/Scanning.py because it changed.
  Compiling /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Compiler/Visitor.py because it changed.
  Compiling /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Compiler/FlowControl.py because it changed.
  Compiling /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Runtime/refnanny.pyx because it changed.
  Compiling /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Compiler/FusedNode.py because it changed.
  Compiling /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Tempita/_tempita.py because it changed.
  [1/8] Cythonizing /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Compiler/FlowControl.py
  [2/8] Cythonizing /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Compiler/FusedNode.py
  [3/8] Cythonizing /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Compiler/Scanning.py
  [4/8] Cythonizing /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Compiler/Visitor.py
  [5/8] Cythonizing /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Plex/Actions.py
  [6/8] Cythonizing /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Plex/Scanners.py
  [7/8] Cythonizing /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Runtime/refnanny.pyx
  [8/8] Cythonizing /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Tempita/_tempita.py
  warning: no files found matching 'Doc/*'
  warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
  warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
  warning: no files found matching '*.pxd' under directory 'Cython/Utility'
  warning: no files found matching 'pyximport/README'
  /tmp/easy_install-9wwlpoz6/Cython-0.29.13/Cython/Plex/Scanners.c:19:10: fatal error: Python.h: No such file or directory
   #include "Python.h"
            ^~~~~~~~~~
  compilation terminated.
  Traceback (most recent call last):
    File "/usr/lib/python3.6/distutils/unixccompiler.py", line 118, in _compile
      extra_postargs)
    File "/usr/lib/python3.6/distutils/ccompiler.py", line 909, in spawn
      spawn(cmd, dry_run=self.dry_run)
    File "/usr/lib/python3.6/distutils/spawn.py", line 36, in spawn
      _spawn_posix(cmd, search_path, dry_run=dry_run)
    File "/usr/lib/python3.6/distutils/spawn.py", line 159, in _spawn_posix
      % (cmd, exit_status))
  distutils.errors.DistutilsExecError: command 'aarch64-linux-gnu-gcc' failed with exit status 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.6/dist-packages/setuptools/command/bdist_egg.py", line 172, in run
      cmd = self.call_command('install_lib', warn_dir=0)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/command/bdist_egg.py", line 158, in call_command
      self.run_command(cmdname)
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.6/dist-packages/setuptools/command/install_lib.py", line 11, in run
      self.build()
    File "/usr/lib/python3.6/distutils/command/install_lib.py", line 109, in build
      self.run_command('build_ext')
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.6/dist-packages/setuptools/command/build_ext.py", line 84, in run
      _build_ext.run(self)
    File "/usr/lib/python3.6/distutils/command/build_ext.py", line 339, in run
      self.build_extensions()
    File "/usr/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
      self._build_extensions_serial()
    File "/usr/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
      self.build_extension(ext)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/command/build_ext.py", line 205, in build_extension
      _build_ext.build_extension(self, ext)
    File "/usr/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
      depends=ext.depends)
    File "/usr/lib/python3.6/distutils/ccompiler.py", line 574, in compile
      self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
    File "/usr/lib/python3.6/distutils/unixccompiler.py", line 120, in _compile
      raise CompileError(msg)
  distutils.errors.CompileError: command 'aarch64-linux-gnu-gcc' failed with exit status 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 154, in save_modules
      yield saved
    File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 195, in setup_context
      yield
    File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 250, in run_setup
      _execfile(setup_script, ns)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 45, in _execfile
      exec(code, globals, locals)
    File "/tmp/easy_install-9wwlpoz6/Cython-0.29.13/setup.py", line 285, in <module>
    File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python3.6/distutils/core.py", line 163, in setup
      raise SystemExit("error: " + str(msg))
  SystemExit: error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 1144, in run_setup
      run_setup(setup_script, args)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 253, in run_setup
      raise
    File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__
      self.gen.throw(type, value, traceback)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 195, in setup_context
      yield
    File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__
      self.gen.throw(type, value, traceback)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 166, in save_modules
      saved_exc.resume()
    File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 141, in resume
      six.reraise(type, exc, self._tb)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/_vendor/six.py", line 685, in reraise
      raise value.with_traceback(tb)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 154, in save_modules
      yield saved
    File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 195, in setup_context
      yield
    File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 250, in run_setup
      _execfile(setup_script, ns)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 45, in _execfile
      exec(code, globals, locals)
    File "/tmp/easy_install-9wwlpoz6/Cython-0.29.13/setup.py", line 285, in <module>
    File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python3.6/distutils/core.py", line 163, in setup
      raise SystemExit("error: " + str(msg))
  SystemExit: error: command 'aarch64-linux-gnu-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-uzmrzqtj/h5py/setup.py", line 159, in <module>
      cmdclass = CMDCLASS,
    File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 144, in setup
      _install_setup_requires(attrs)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 139, in _install_setup_requires
      dist.fetch_build_eggs(dist.setup_requires)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/dist.py", line 720, in fetch_build_eggs
      replace_conflicting=True,
    File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 782, in resolve
      replace_conflicting=replace_conflicting
    File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 1065, in best_match
      return self.obtain(req, installer)
    File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 1077, in obtain
      return installer(requirement)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/dist.py", line 787, in fetch_build_egg
      return cmd.easy_install(req)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 679, in easy_install
      return self.install_item(spec, dist.location, tmpdir, deps)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 705, in install_item
      dists = self.install_eggs(spec, download, tmpdir)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 890, in install_eggs
      return self.build_and_install(setup_script, setup_base)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 1158, in build_and_install
      self.run_setup(setup_script, setup_base, args)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 1146, in run_setup
      raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  distutils.errors.DistutilsError: Setup script exited with error: command 'aarch64-linux-gnu-gcc' failed with
exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for h5py
  Running setup.py clean for h5py
Successfully built termcolor wrapt gast
Failed to build grpcio numpy h5py
Installing collected packages: termcolor, grpcio, numpy, markdown, tensorboard, keras-preprocessing, h5py, keras-applications, wrapt, google-pasta, astor, gast, tensorflow-gpu
    Running setup.py install for grpcio ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uzmrzqtj/grpcio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-uzmrzqtj/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-4s8na2v3/install-record.txt --single-version-externally-managed --compile
         cwd: /tmp/pip-install-uzmrzqtj/grpcio/
    Complete output (341 lines):
    Found cython-generated files...
    running install
    running build
    running build_py
    running build_project_metadata
    creating python_build
    creating python_build/lib.linux-aarch64-3.6
    creating python_build/lib.linux-aarch64-3.6/grpc
    copying src/python/grpcio/grpc/_interceptor.py -> python_build/lib.linux-aarch64-3.6/grpc
    copying src/python/grpcio/grpc/_server.py -> python_build/lib.linux-aarch64-3.6/grpc
    copying src/python/grpcio/grpc/_compression.py -> python_build/lib.linux-aarch64-3.6/grpc
    copying src/python/grpcio/grpc/_auth.py -> python_build/lib.linux-aarch64-3.6/grpc
    copying src/python/grpcio/grpc/_common.py -> python_build/lib.linux-aarch64-3.6/grpc
    copying src/python/grpcio/grpc/_channel.py -> python_build/lib.linux-aarch64-3.6/grpc
    copying src/python/grpcio/grpc/_utilities.py -> python_build/lib.linux-aarch64-3.6/grpc
    copying src/python/grpcio/grpc/_plugin_wrapping.py -> python_build/lib.linux-aarch64-3.6/grpc
    copying src/python/grpcio/grpc/_grpcio_metadata.py -> python_build/lib.linux-aarch64-3.6/grpc
    copying src/python/grpcio/grpc/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc
    creating python_build/lib.linux-aarch64-3.6/grpc/beta
    copying src/python/grpcio/grpc/beta/interfaces.py -> python_build/lib.linux-aarch64-3.6/grpc/beta
    copying src/python/grpcio/grpc/beta/utilities.py -> python_build/lib.linux-aarch64-3.6/grpc/beta
    copying src/python/grpcio/grpc/beta/implementations.py -> python_build/lib.linux-aarch64-3.6/grpc/beta
    copying src/python/grpcio/grpc/beta/_metadata.py -> python_build/lib.linux-aarch64-3.6/grpc/beta
    copying src/python/grpcio/grpc/beta/_server_adaptations.py -> python_build/lib.linux-aarch64-3.6/grpc/beta
    copying src/python/grpcio/grpc/beta/_client_adaptations.py -> python_build/lib.linux-aarch64-3.6/grpc/beta
    copying src/python/grpcio/grpc/beta/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/beta
    creating python_build/lib.linux-aarch64-3.6/grpc/_cython
    copying src/python/grpcio/grpc/_cython/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/_cython
    creating python_build/lib.linux-aarch64-3.6/grpc/experimental
    copying src/python/grpcio/grpc/experimental/gevent.py -> python_build/lib.linux-aarch64-3.6/grpc/experimental
    copying src/python/grpcio/grpc/experimental/session_cache.py -> python_build/lib.linux-aarch64-3.6/grpc/experimental
    copying src/python/grpcio/grpc/experimental/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/experimental
    creating python_build/lib.linux-aarch64-3.6/grpc/framework
    copying src/python/grpcio/grpc/framework/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/framework
    creating python_build/lib.linux-aarch64-3.6/grpc/_cython/_cygrpc
    copying src/python/grpcio/grpc/_cython/_cygrpc/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/_cython/_cygrpc
    creating python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces
    copying src/python/grpcio/grpc/framework/interfaces/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces
    creating python_build/lib.linux-aarch64-3.6/grpc/framework/common
    copying src/python/grpcio/grpc/framework/common/style.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/common
    copying src/python/grpcio/grpc/framework/common/cardinality.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/common
    copying src/python/grpcio/grpc/framework/common/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/common
    creating python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/callable_util.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/stream.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/logging_pool.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/abandonment.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/future.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/stream_util.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/foundation
    creating python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/base
    copying src/python/grpcio/grpc/framework/interfaces/base/utilities.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/base
    copying src/python/grpcio/grpc/framework/interfaces/base/base.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/base
    copying src/python/grpcio/grpc/framework/interfaces/base/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/base
    creating python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/face
    copying src/python/grpcio/grpc/framework/interfaces/face/face.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/face
    copying src/python/grpcio/grpc/framework/interfaces/face/utilities.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/face
    copying src/python/grpcio/grpc/framework/interfaces/face/__init__.py -> python_build/lib.linux-aarch64-3.6/grpc/framework/interfaces/face
    creating python_build/lib.linux-aarch64-3.6/grpc/_cython/_credentials
    copying src/python/grpcio/grpc/_cython/_credentials/roots.pem -> python_build/lib.linux-aarch64-3.6/grpc/_cython/_credentials
    running build_ext
    Found cython-generated files...
    building 'grpc._cython.cygrpc' extension
    creating python_build/temp.linux-aarch64-3.6
    creating python_build/temp.linux-aarch64-3.6/src
    creating python_build/temp.linux-aarch64-3.6/src/python
    creating python_build/temp.linux-aarch64-3.6/src/python/grpcio
    creating python_build/temp.linux-aarch64-3.6/src/python/grpcio/grpc
    creating python_build/temp.linux-aarch64-3.6/src/python/grpcio/grpc/_cython
    creating python_build/temp.linux-aarch64-3.6/third_party
    creating python_build/temp.linux-aarch64-3.6/third_party/address_sorting
    creating python_build/temp.linux-aarch64-3.6/src/core
    creating python_build/temp.linux-aarch64-3.6/src/core/lib
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/gpr
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/gprpp
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/profiling
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/surface
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/avl
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/backoff
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/channel
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/compression
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/debug
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/http
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/iomgr
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/iomgr/executor
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/json
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/slice
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/transport
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/uri
    creating python_build/temp.linux-aarch64-3.6/src/core/ext
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/server
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/server/secure
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/transport
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/alpn
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/http
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/http/client
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/http/message_compress
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/http/server
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/context
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/alts
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/composite
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/fake
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/google_default
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/iam
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/jwt
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/local
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/oauth2
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/plugin
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/ssl
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/credentials/tls
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/security_connector
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/security_connector/alts
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/security_connector/fake
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/security_connector/local
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/security_connector/ssl
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/security_connector/tls
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/transport
    creating python_build/temp.linux-aarch64-3.6/src/core/lib/security/util
    creating python_build/temp.linux-aarch64-3.6/src/core/tsi
    creating python_build/temp.linux-aarch64-3.6/src/core/tsi/alts
    creating python_build/temp.linux-aarch64-3.6/src/core/tsi/alts/crypt
    creating python_build/temp.linux-aarch64-3.6/src/core/tsi/alts/frame_protector
    creating python_build/temp.linux-aarch64-3.6/src/core/tsi/alts/handshaker
    creating python_build/temp.linux-aarch64-3.6/src/core/tsi/alts/zero_copy_frame_protector
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src/proto
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src/proto/grpc
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src/proto/grpc/gcp
    creating python_build/temp.linux-aarch64-3.6/third_party/upb
    creating python_build/temp.linux-aarch64-3.6/third_party/upb/upb
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/client
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/client/insecure
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/health
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/deadline
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src/proto/grpc/health
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src/proto/grpc/health/v1
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/udpa
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/udpa/data
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/udpa/data/orca
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/udpa/data/orca/v1
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/gogoproto
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/validate
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/google
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/google/api
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/google/protobuf
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/google/rpc
    creating python_build/temp.linux-aarch64-3.6/src/core/tsi/ssl
    creating python_build/temp.linux-aarch64-3.6/src/core/tsi/ssl/session_cache
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/client/secure
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/chttp2/server/insecure
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/transport/inproc
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/lb_policy
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/lb_policy/grpclb
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src/proto/grpc/lb
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/src/proto/grpc/lb/v1
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/resolver
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/resolver/fake
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/lb_policy/xds
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/api
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/api/v2
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/api/v2/auth
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/api/v2/cluster
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/api/v2/endpoint
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/service
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/service/discovery
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/service/discovery/v2
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/service/load_stats
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/service/load_stats/v2
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/api/v2/core
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/upb-generated/envoy/type
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/lb_policy/pick_first
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/lb_policy/round_robin
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/resolver/dns
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/resolver/dns/c_ares
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/resolver/dns/native
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/resolver/sockaddr
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_channel/resolver/xds
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/census
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/client_idle
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/max_age
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/message_size
    creating python_build/temp.linux-aarch64-3.6/src/core/ext/filters/workarounds
    creating python_build/temp.linux-aarch64-3.6/src/core/plugin_registry
    creating python_build/temp.linux-aarch64-3.6/src/boringssl
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/asn1
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/base64
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/bio
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/bn_extra
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/buf
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/bytestring
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/chacha
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/cipher_extra
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/cmac
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/conf
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/curve25519
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/dh
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/digest_extra
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/dsa
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/ec_extra
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/ecdh
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/ecdsa_extra
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/engine
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/err
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/evp
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/fipsmodule
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/hkdf
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/lhash
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/obj
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/pem
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/pkcs7
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/pkcs8
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/poly1305
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/pool
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/rand_extra
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/rc4
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/rsa_extra
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/stack
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/x509
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/crypto/x509v3
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/ssl
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/third_party
    creating python_build/temp.linux-aarch64-3.6/third_party/boringssl/third_party/fiat
    creating python_build/temp.linux-aarch64-3.6/third_party/zlib
    creating python_build/temp.linux-aarch64-3.6/third_party/cares
    creating python_build/temp.linux-aarch64-3.6/third_party/cares/cares
    aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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/address_sorting/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/boringssl/include -Ithird_party/upb -Isrc/core/ext/upb-generated -Ithird_party/zlib -I/usr/include/python3.6m -c src/python/grpcio/grpc/_cython/cygrpc.cpp -o python_build/temp.linux-aarch64-3.6/src/python/grpcio/grpc/_cython/cygrpc.o -std=c++11 -std=gnu99 -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread
    cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++
    src/python/grpcio/grpc/_cython/cygrpc.cpp:837:10: fatal error: Python.h: No such file or directory
     #include "Python.h"
              ^~~~~~~~~~
    compilation terminated.
    creating tmp/tmp2n3n6_34
    aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c /tmp/tmp2n3n6_34/a.c -o tmp/tmp2n3n6_34/a.o
    /tmp/tmp2n3n6_34/a.c:2:10: fatal error: Python.h: No such file or directory
     #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/lib/python3.6/distutils/unixccompiler.py", line 118, in _compile
        extra_postargs)
      File "/tmp/pip-install-uzmrzqtj/grpcio/src/python/grpcio/_spawn_patch.py", line 54, in _commandfile_spawn
        _classic_spawn(self, command)
      File "/usr/lib/python3.6/distutils/ccompiler.py", line 909, in spawn
        spawn(cmd, dry_run=self.dry_run)
      File "/usr/lib/python3.6/distutils/spawn.py", line 36, in spawn
        _spawn_posix(cmd, search_path, dry_run=dry_run)
      File "/usr/lib/python3.6/distutils/spawn.py", line 159, in _spawn_posix
        % (cmd, exit_status))
    distutils.errors.DistutilsExecError: command 'aarch64-linux-gnu-gcc' failed with exit status 1
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/pip-install-uzmrzqtj/grpcio/src/python/grpcio/commands.py", line 262, in build_extensions
        build_ext.build_ext.build_extensions(self)
      File "/usr/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
        self._build_extensions_serial()
      File "/usr/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
        self.build_extension(ext)
      File "/usr/local/lib/python3.6/dist-packages/setuptools/command/build_ext.py", line 205, in build_extension
        _build_ext.build_extension(self, ext)
      File "/usr/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
        depends=ext.depends)
      File "/usr/lib/python3.6/distutils/ccompiler.py", line 574, in compile
        self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
      File "/usr/lib/python3.6/distutils/unixccompiler.py", line 120, in _compile
        raise CompileError(msg)
    distutils.errors.CompileError: command 'aarch64-linux-gnu-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-uzmrzqtj/grpcio/setup.py", line 379, in <module>
        cmdclass=COMMAND_CLASS,
      File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 145, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/lib/python3.6/distutils/command/install.py", line 589, in run
        self.run_command('build')
      File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python3.6/dist-packages/setuptools/command/build_ext.py", line 84, in run
        _build_ext.run(self)
      File "/usr/lib/python3.6/distutils/command/build_ext.py", line 339, in run
        self.build_extensions()
      File "/tmp/pip-install-uzmrzqtj/grpcio/src/python/grpcio/commands.py", line 265, in build_extensions
        support.diagnose_build_ext_error(self, error, formatted_exception)
      File "/tmp/pip-install-uzmrzqtj/grpcio/src/python/grpcio/support.py", line 111, in diagnose_build_ext_error
        diagnostic(build_ext, error)
      File "/tmp/pip-install-uzmrzqtj/grpcio/src/python/grpcio/support.py", line 70, in diagnose_compile_error
        _expect_compile(build_ext.compiler, c_check, message)
      File "/tmp/pip-install-uzmrzqtj/grpcio/src/python/grpcio/support.py", line 64, in _expect_compile
        .format(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 errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uzmrzqtj/grpcio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-uzmrzqtj/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-4s8na2v3/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

What should I do?

Hi,

Did you install the prerequisites libraries first?
https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html#prereqs

$ sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev
$ sudo apt-get install python3-pip
$ sudo pip3 install -U pip

Thanks.

Yes I have done all this…!

Any suggestion? Any reliable tutorial you have used for this work? I am trying days to install it… Thank you…

I follow now this tutorial:

https://www.learnopencv.com/install-opencv3-on-ubuntu/

and when I run the command:

make -j1

I get this error:

Scanning dependencies of target opencv_core
[ 11%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opengl.cpp.o
cc1plus: warning: /home/mojito/Desktop/TF/opencv/build/modules/core/precomp.hpp.gch/opencv_core_RELEASE.gch: not used because `OPENCV_TRAITS_ENABLE_DEPRECATED' is defined [-Winvalid-pch]
In file included from /home/mojito/Desktop/TF/opencv/modules/core/src/opengl.cpp:48:0:
/usr/local/cuda/include/cuda_gl_interop.h:63:2: error: #error Please include the appropriate gl headers before including cuda_gl_interop.h
 #error Please include the appropriate gl headers before including cuda_gl_interop.h
  ^~~~~
In file included from /home/mojito/Desktop/TF/opencv/modules/core/include/opencv2/core/private.cuda.hpp:73:0,
                 from /home/mojito/Desktop/TF/opencv/build/modules/core/precomp.hpp:56,
                 from <command-line>:0:
/home/mojito/Desktop/TF/opencv/modules/core/src/opengl.cpp: In function ‘void cv::cuda::setGlDevice(int)’:
/home/mojito/Desktop/TF/opencv/modules/core/src/opengl.cpp:126:47: warning: ‘cudaError_t cudaGLSetGLDevice(int)’ is deprecated [-Wdeprecated-declarations]
         cudaSafeCall( cudaGLSetGLDevice(device) );
                                               ^
/home/mojito/Desktop/TF/opencv/modules/core/include/opencv2/core/cuda/common.hpp:74:58: note: in definition of macro ‘cudaSafeCall’
     #define cudaSafeCall(expr)  cv::cuda::checkCudaError(expr, __FILE__, __LINE__, CV_Func)
                                                          ^~~~
In file included from /home/mojito/Desktop/TF/opencv/modules/core/src/opengl.cpp:48:0:
/usr/local/cuda/include/cuda_gl_interop.h:305:57: note: declared here
 extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaGLSetGLDevice(int device);
                                                         ^~~~~~~~~~~~~~~~~
modules/core/CMakeFiles/opencv_core.dir/build.make:1345: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/src/opengl.cpp.o' failed
make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/src/opengl.cpp.o] Error 1
CMakeFiles/Makefile2:2749: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/all' failed
make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
mojito@mojito-desktop:~/Desktop/TF/opencv/build$

Why does this happen?

Hi,

Sorry for the late update.

1.
To solve the error in comment#2, you can try to install python-dev and reisntall the TensorFlow package again.

sudo apt-get install python-dev
sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v42 tensorflow-gpu

2.
To install OpenCV on the Jetson platform, it’s recommended to use our script.
It can automatically compile OpenCV from source for you.

Thanks.

I had the same problem with h5py installing Tensorflow.

What worked for me:
I attached “–no-cache-dir” to the install command:

pip3 install --pre --extra… --no-cache-dir

Or try using different nv-version “tensorflow==1.15.5+nv21.06”