您的位置:首页 > 编程语言 > Python开发

gulp npm安装gulp-sass报错: checking for Python executable "python2" in the PATH

2017-01-16 15:04 471 查看
今天安装gulp-sass的时候报错: checking for Python executable "python2" in the PATH,

尝试了很多方法,最后用cnpm来安装就安装成功了

具体做法:

1. 安装cnpm

 npm install cnpm -g --registry=https://registry.npm.taobao.org

2. 安装gulp-sass

语法都是一样的,只是将npm换成cnpm

cnpm install --save-dev gulp-sass

搞定!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐