Solved by hartbx in post #7 
              
              
                I think this is caused by this code: 


that’s executed unconditionally when building extensions. 
If it’s not causing an actual failure and is just alarming, you might be able to shut it up by setting CUDA_HOME or CUDA_PATH in the env even without CUDA installed.