概述
https://blog.csdn.net/lacoucou/article/details/53152122
错误,原因是Crypto并非标准模块,需要自己单独安装。 安装方法:
1.pip install pycropt 这中办法经常会报错:
required (Unable cpython27
似乎也很麻烦。
2.使用编译好的安装包。下载地址:
dspace.org.uk/python/modules.shtml#pycrypto)
根据自己的版本现在对应的安装即可。
然而,安装完,或许并没有什么卵用,使用依旧报错:
经过苦苦搜索,终于在stackover上找到答案: nofollow" target="_blank">打开链接之后请拉到最后一条回答
I found the solution. Issue is probably in case sensitivity (on Windows). Just change the name of the folder: C:\Python27\Lib\site-packages\crypto to: C:\Python27\Lib\site-packages\Crypto
翻译过来就是: 把crypto文件夹重命名为Crypto。 终于可以正常使用了。
经过苦苦搜索,终于在stackover上找到答案: nofollow" target="_blank">打开链接之后请拉到最后一条回答
I found the solution. Issue is probably in case sensitivity (on Windows). Just change the name of the folder: C:\Python27\Lib\site-packages\crypto to: C:\Python27\Lib\site-packages\Crypto
翻译过来就是: 把crypto文件夹重命名为Crypto。 终于可以正常使用了。
经过苦苦搜索,终于在stackover上找到答案: nofollow" target="_blank">打开链接之后请拉到最后一条回答
I found the solution. Issue is probably in case sensitivity (on Windows). Just change the name of the folder: C:\Python27\Lib\site-packages\crypto to: C:\Python27\Lib\site-packages\Crypto
翻译过来就是: 把crypto文件夹重命名为Crypto。 终于可以正常使用了。
总结
以上是编程之家为你收集整理的No module named Crypto--转全部内容,希望文章能够帮你解决No module named Crypto--转所遇到的程序开发问题。
如果您也喜欢它,动动您的小指点个赞吧