Python ImportError:在安装软件包之后,没有出现名为“Crypto”的模块

Python ImportError:在安装软件包之后,没有出现名为“Crypto”的模块,python,python-3.4,importerror,pycrypto,Python,Python 3.4,Importerror,Pycrypto,在windows中安装simpleCrypto和PyCrypto后。。。我得到这个错误 以下步骤: cd simplecryto/区;python setup.py安装 cd-pycrypto/dist;python setup.py安装 test.py: from simplecrypt import encrypt, decrypt ciphertext = encrypt(password, 'my secret message') plaintext = decrypt(passwor

在windows中安装simpleCrypto和PyCrypto后。。。我得到这个错误

以下步骤: cd simplecryto/区;python setup.py安装 cd-pycrypto/dist;python setup.py安装

test.py:

from simplecrypt import encrypt, decrypt

ciphertext = encrypt(password, 'my secret message')
plaintext = decrypt(password, ciphertext)
python test.py

Traceback (most recent call last):
  File "test.py", line 1, in <module>
    from simplecrypt import encrypt, decrypt
  File "C:\Python34\lib\site-packages\simplecrypt\__init__.py", line 2, in <module>
    from Crypto.Cipher import AES
ImportError: No module named 'Crypto'

我必须通过安装程序而不是setup.py安装模块来解决这个问题。这里有一个指向安装程序的链接:

检查模块的安装目录。似乎您在错误的位置安装了软件包