如果使用npm 命令安装了‘crypto-js’ 但是npm list显示没有的话 Cannot find module ‘crypto-js’——python调用crypto-js报错情况下
【代码】如果使用npm 命令安装了‘crypto-js’ 但是npm list显示没有的话 Cannot find module ‘crypto-js’
·
如果使用npm 命令安装了crypto-js 但是npm list显示没有的话 ,可使用命令行代码如下:
npm install -g cnpm --registry=https://registry.npm.taobao.org
这是下载命令
cnpm install crypto-js
同时如果python无法调用crypto-js时 ,把下载下来的crypto-js文件夹复制到node_modules目录下 全局和本地都得有
更多推荐
所有评论(0)