Tensorflow installation fails on NV Xavier Nx Dev kit due to grpcio failing to compile because of __wrap_memcpy dependency

I recently purchased NV Xavier NX dev kit. I installed the SD card image from (https://developer.nvidia.com/jetson-nx-developer-kit-sd-card-image). It boots fine and I’m able to run the sample CUDA and tensorRT code.

For installing Tensorflow, I followed instructions from (https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html)

The tensorflow fails because during compilation of grpcio wheel it encounters unknown reference to __wrap_memcpy.

The grpcio pkg it picks up is grpcio-1.31.0.tar.gz

I’ve tried the following:

  • Update setuptools (using version 50.0.0)
  • Update pip3 (using 20.2.2)

Any suggestions on what the issue might be and how to fix or workaround it?

Hi,

There is an issue in grpcio:

Currently, please downgrade setuptools to 49.6.0 and it should work.

Thanks.