I am testing the installation of the deep learning tool theano. Follow the official website Baby Steps-Algebra to enter step by step.
1
2
3
4
5
6
|
>>> 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) |
There is no problem with import theano, and no problem with defining x, y, and z. An error was reported when f = function([x, y], z) in the last step.
The error is “nvcc fatal: Cannot find compiler’cl.exe’ in PATH”. It says that cl.exe is missing. I don’t know what this file does. I searched it on Google. Someone said that cl.exe is in a directory similar to “C:\Program Files\Microsoft Visual Studio 10.0\VC\bin”. I searched for it and it turned out to be there. Add this path to the environment variable.
Re-testing, the original error is no longer there, and a new problem comes up, but fortunately, it does not affect the final result. . .
1
2
3
4
5
6
7
8
|
>>> x = T.dsc >>> y = T.dsc >>> z = x + y >>> f = funct DEBUG: nvcc STDOUT mod.cu ................................. >>> f( 2 , 3 ) array( 5.0 ) |
Similar Posts:
- [Solved] LINK : fatal error LNK1123: failure during conversion to COFF: file
- Visual Studio Failed to Start Error: throw error ‘cannot run when setup is in progress’
- error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”:
- Visual studio integration failed vs2017
- [Solved] Visual Studio 2015 Warning: Cannot find one or more components. Please reinstall the application.
- error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = ‘v100’) cannot be found
- Error link: fatal error lnk1158: unable to run ‘RC. Exe’
- pyinstaller WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency
- Installation tutorial of visual studio 2017 and visual Assist X
- Microsoft report viewer 2012 cannot load related DLL