I got this warning/error message whenever I try importing theano-based packages for the first time (it disappear the second time...). I'm wondering how to get rid of it or disable it since it seems not to affect anything except for being ugly... Thanks in advance for your help!
I have Visual Studio 2010 and C++ installed and added the path of cl.exe into the system path. Below is the original error message:
===============================
nvcc : fatal error : nvcc cannot find a supported version of Microsoft Visual Studio. Only the versions 2008, 2010, and 2012 are supported ERROR (theano.sandbox.cuda): Failed to compile cuda_ndarray.cu: ('nvcc return status', -1, 'for cmd', 'nvcc -shared -O3 -Xlinker /DEBUG -D HAVE_ROUND -m64 -Xcompiler -DCUDA_NDARRAY_CUH=47047b939bf764f5977458e316cf235a,-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION,/Zi,/MD -IC:\Anaconda\lib\site-packages\theano\sandbox\cuda -IC:\Anaconda\lib\site-packages\numpy\core\include -IC:\Anaconda\include -IC:\Anaconda\lib\site-packages\theano\gof -o C:\Users\YDuan\AppData\Local\Theano\compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64\cuda_ndarray\cuda_ndarray.pyd mod.cu -LC:\Anaconda\libs -LC:\Anaconda -lpython27 -lcublas -lcudart') ERROR:theano.sandbox.cuda:Failed to compile cuda_ndarray.cu: ('nvcc return status', -1, 'for cmd', 'nvcc -shared -O3 -Xlinker /DEBUG -D HAVE_ROUND -m64 -Xcompiler -DCUDA_NDARRAY_CUH=47047b939bf764f5977458e316cf235a,-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION,/Zi,/MD -IC:\Anaconda\lib\site-packages\theano\sandbox\cuda -IC:\Anaconda\lib\site-packages\numpy\core\include -IC:\Anaconda\include -IC:\Anaconda\lib\site-packages\theano\gof -o C:\Users\YDuan\AppData\Local\Theano\compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64\cuda_ndarray\cuda_ndarray.pyd mod.cu -LC:\Anaconda\libs -LC:\Anaconda -lpython27 -lcublas -lcudart')
['nvcc', '-shared', '-O3', '-Xlinker', '/DEBUG', '-D HAVE_ROUND', '-m64', '-Xcompiler', '-DCUDA_NDARRAY_CUH=47047b939bf764f5977458e316cf235a,-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION,/Zi,/MD', '-IC:\Anaconda\lib\site-packages\theano\sandbox\cuda', '-IC:\Anaconda\lib\site-packages\numpy\core\include', '-IC:\Anaconda\include', '-IC:\Anaconda\lib\site-packages\theano\gof', '-o', 'C:\Users\YDuan\AppData\Local\Theano\compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64\cuda_ndarray\cuda_ndarray.pyd', 'mod.cu', '-LC:\Anaconda\libs', '-LC:\Anaconda', '-lpython27', '-lcublas', '-lcudart']