While I am installing Detectron2 alongside Yolov7, I got an error like this. Is this related with Visual Studio or Cuda? how can I fix this?
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\include\crt/host_config.h(160): fatal error C1189: #error: -- unsupported Microsoft Visual Studio version! Only the versions between 2017 and 2019 (inclusive) are supported! The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk.
ROIAlignRotated_cuda.cu
error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.3\\bin\\nvcc.exe' failed with exit code 2
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "C:\Users\tubay\AppData\Roaming\Python\Python39\site-packages\colorama\ansitowin32.py", line 59, in closed
return stream.closed
ValueError: underlying buffer has been detached
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.