install failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python-Crypto |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi, I just grabbed the latest pycrypto (2.6). When I run setup.py test I get the following error:
running test
Traceback (most recent call last):
File "setup.py", line 456, in <module>
core.
File "/usr/lib64/
dist.
File "/usr/lib64/
self.
File "/usr/lib64/
cmd_obj.run()
File "setup.py", line 336, in run
SelfTest.
File "build/
tests = get_tests(
File "build/
from Crypto.SelfTest import Cipher; tests += Cipher.
File "build/
from Crypto.
File "build/
from Crypto.Cipher import AES
File "build/
from Crypto.Cipher import _AES
ImportError: cannot import name _AES
I'm running python version 2.6
Linux: Amazon Linux AMI release 2012.03
Thanks!
The test target is missing a dependency on the build target. As a workaround run python setup.py build first and then everything else.