I came into the same problem. For some reason in my environmental variables there is a CPLUS_INCLUDE_PATH=/usr/local/cuda/include. I solved this with export CPLUS_INCLUDE_PATH=
See ref here: https://code.google.com/archive/p/thrust/issues/359 81