win10系统安装web3js的正确方法

在安装web3的时候 用npm  install web3 –save-dev 在win10系统下会一直安装不成功。后来换用了 cnpm install web3 –save-dev 安装时候报出:Can’t find Python executable “python”, you can set the PYTHON env variable.  等错误。所以正确的安装方法是,需要用cnpm安装。先安装 cnpm install node-gyp –save-dev  ,之后在安装cnpm install web3 –save-dev  就可以啦

猜你喜欢

转载自www.cnblogs.com/juehai/p/9721841.html