May still be worth checking your theanorc file since the same error can happen in windows:
Add the following lines to .theanorc: [nvcc] flags=--cl-version=2015 -D_FORCE_INLINES if you do not include the cl-version then you get the error: nvcc fatal : nvcc cannot find a supported version of Microsoft Visual Studio. Only the versions 2010, 2012, and 2013 are supported the D_FORCE_INLINES part is for an Ubuntu bug although I'm not sure it's necessary anymore. It can help prevent this error: WARNING (theano.sandbox.cuda): CUDA is installed, but device gpu0 is not available (error: cuda unavailable) Note: This error seems to also show if the g++ version is too new for the CUDA version. -- --- You received this message because you are subscribed to the Google Groups "theano-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.