相关疑难解决方法(0)

在执行“ pip install pycrypto”之后,如何解决“ No module named'Crypto'的错误?

基本上,我试图将Chemobot引入我自己的聊天室之一,其创建者建议我应该.py在自己的计算机上运行脚本。我几乎没有开始用python编程,到目前为止,我的首要兴趣是运行该文件。

我正在使用:

  • Windows命令提示符(cmd)运行
  • Python 3.6(对此我感到不安,他使用2.7运行代码)
  • Windows 8.1
  • Notepad ++编辑文件
  • 我被提示从此处安装的Visual C ++ 2015 Build Tools 。

我遇到的错误:

但是,当我输入命令时python main.py,出现以下错误:

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Python36>python main.py
Traceback (most recent call last):
  File "main.py", line 2, in <module>
    import chatbot, random, shutil, time, urllib, sys, upsidedown, threading
  File "C:\Python36\chatbot.py", line 3, in <module>
    import requests, codecs, time, json, getpass, threading, os, linecache, sys,
 simplecrypt
  File "C:\Python36\lib\site-packages\simplecrypt\__init__.py", line …
Run Code Online (Sandbox Code Playgroud)

python pycrypto python-3.x

2
推荐指数
1
解决办法
7931
查看次数

标签 统计

pycrypto ×1

python ×1

python-3.x ×1