I am testing the installation of the Deep learning tool Theano. Follow the official website Baby Steps-algebra Step-by-step input.
>>> import theano.tensor as t>>> from Theano import function>>> x = t.dscalar (' x ') >>> y = t.dscalar (' y ') >>> z = x + y>>> f = function ([x, y], z)
Import Theano No problem, define X, Y, Z are fine. The last step f = function ([x, y], z) is an error.
The error is "NVCC fatal:cannot find compiler ' cl.exe ' in PATH" said is the lack of cl.exe, do not know what this file to do, Google search for a bit. See someone say cl.exe in a directory similar to "C:\Program Files\Microsoft Visual Studio 10.0\vc\bin". Look for a look for sure, add this path to the environment variable.
Re-test, the original error no longer have, and come out a new problem, but fortunately does not affect the final result ...
>>> x = t.dsc>>> y = t.dsc>>> z = x + y>>> f = functdebug:nvcc STDOUT mod.cu ... . .............................>>> F (2, 3) array (5.0)
NVCC fatal:cannot find compiler ' cl.exe ' in path workaround