python - ImportError: No module named 'Crypto' is occuring after installing packages also -
after installing simplecrypto , pycrypto in windows... getting error...
steps followed: cd simplecryto/dist; python setup.py install cd pycrypto/dist; python setup.py install
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> simplecrypt import encrypt, decrypt file "c:\python34\lib\site-packages\simplecrypt\__init__.py", line 2, in <module> crypto.cipher import aes importerror: no module named 'crypto'
i had fix installing module through installer instead of setup.py. here's link installer: http://www.voidspace.org.uk/downloads/pycrypto26/pycrypto-2.6.win32-py2.7.exe
Comments
Post a Comment