将vue项目代码复制到本身电脑上安装依赖时报错:vue
checking for Python executable "python" in the PATH 复制代码
用cnpm来安装便可:python
步骤:npm
安装cnpm:spa
npm install cnpm -g --registry=https://registry.npm.taobao.org 复制代码
用cnpm安装依赖:code
cnpm install 复制代码