C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include\crt/host_config.h(158): fatal error C1189: #error: -- unsupported Microsoft Visual Studio version! Only the versions between 2015 and 2019 (inclusive) are supported!
active_rotated_filter_cuda.cu
error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\bin\\nvcc.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for mmcv
Running setup.py clean for mmcv
Failed to build mmcv
ERROR: Could not build wheels for mmcv, which is required to install pyproject.toml-based projects
Additional information
Failed to build mmcv using pip in conda environment, because pip is using wrong nvcc installation from Windows instead of nvcc installed within conda environment.
I cannot use mim because I dont have enough privilege and I got Access denied error.
I would expect the build to use nvcc that was installed in the conda environement instead of the C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc.exe
Prerequisite
Environment
OS: Windows 10 Virtual env: Conda CUDA: 11.8 Pytorch: 2.1.2
Reproduces the problem - code sample
``
Reproduces the problem - command or script
Reproduces the problem - error message
Additional information
Failed to build mmcv using pip in conda environment, because pip is using wrong nvcc installation from Windows instead of nvcc installed within conda environment.
I cannot use mim because I dont have enough privilege and I got Access denied error.
I would expect the build to use nvcc that was installed in the conda environement instead of the C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc.exe