I am trying install tensorflow with this command:
sudo pip3 install --pre --no-cache-dir --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v42 tensorflow-gpu
And I am getting error like this.
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-dabt9v17/grpcio/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-dabt9v17/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-g_tlu521 --python-tag cp36
cwd: /tmp/pip-install-dabt9v17/grpcio/
Complete output (62 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
error: [Errno 2] No such file or directory: ‘cc’: ‘cc’
ERROR: Failed building wheel for grpcio
Running setup.py clean for grpcio
Failed to build grpcio
ERROR: tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you’ll have setuptools 40.7.1 which is incompatible.
Installing collected packages: grpcio, werkzeug, tensorboard, tensorflow-estimator, 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-dabt9v17/grpcio/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-dabt9v17/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-kccb7c0s/install-record.txt --single-version-externally-managed --compile
cwd: /tmp/pip-install-dabt9v17/grpcio/
Complete output (62 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
error: [Errno 2] No such file or directory: ‘cc’: ‘cc’
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '”‘"’/tmp/pip-install-dabt9v17/grpcio/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-dabt9v17/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-kccb7c0s/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.