-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error running test-decrypt.py #2
Comments
After:
The same error persists. |
I just got the same problem. Any idea ? |
Problem is Ubuntu 12.04 LTS - the python-crypto package on this Ubuntu release is still version 2.4.1 - and the required module PKCS1_v1_5.py is missing. You could install it by manually download the deb package from and install it
Afterwards, error should be gone - btw. don't miss to install required |
It's working now. Thanks a lot! |
That's great help, thanks! Also if you're using a 64bit version of Ubuntu you can use: wget http://mirrors.kernel.org/ubuntu/pool/main/p/python-crypto/python-crypto_2.6-2_amd64.deb |
Now that Ubuntu 13.10 is past the expiration date, the version of the package is not available for 12.04 LTS (14.xx version has several unmet dependencies on 12.04), the solution is to do the following: cd /opt
#Optional: sudo chown `whoami` /opt
sudo apt-get install python-dev
git clone https://github.com/dlitz/pycrypto.git # May require sudo
cd pycrypto
# Version 2.6.1 works with czdap-tools and 2.7a1 does not
git checkout v2.6.1
./configure
python setup.py build
sudo python setup.py install |
The text was updated successfully, but these errors were encountered: