Error Error: Can't find Python executable "python", you can set the PYTHON env variable when Gulp installs Sass. Solution

Error when installing Sass Error: Can't find Python executable "python", you can set the PYTHON env variable. Solution

Solution:

The first way:

Install Python and configure environment variables

Be sure to install the version of python2.7

Environment variable installation can refer to: http://blog.csdn.net/lyj_viviani/article/details/51763101

If the first method doesn't work, try the second method.

The second way: 
run the following code

npm install --global --production windows-build-tools

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325158651&siteId=291194637