An error was reported when installing gulp sass today: checking for Python executable “python2” in the path
Try a lot of methods, and finally use cnpm to install it successfully
Specific methods:
1. Install cnpm
npm install cnpm -g –registry= https://registry.npm.taobao.org
2. Install gulp sass
The syntax is the same, just change NPM to cnpm
cnpm install –save-dev gulp-sass
It’s done