My jetson nano board returns 'False' to torch.cuda.is_available() in local directory

You have to add your CUDA toolkit paths to your environment before attempting to build PyCUDA - you can check the paths I set while building it in container:

https://github.com/dusty-nv/jetson-containers/blob/6333e058495e689fcceebb6bc04eb72b5ab43893/Dockerfile.pytorch#L111