BlockIo / multimerchant-python

Multi-currency HD wallet for Bitcoin/Dogecoin/Litecoin and Testnets. Fork of Bitmerchant designed to work with Block.io.
MIT License
32 stars 21 forks source link

ripemd160 unsupported #1

Open PhGalaz opened 8 years ago

PhGalaz commented 8 years ago

I have search for days trying to fix this issue. I can't do nothing related to Bitcoin without it. This is my code:

import hashlib from Crypto.Hash import RIPEMD

r = hashlib.new('ripemd160')

this is my log:

Traceback (most recent call last): File "error.py", line 4, in r = hashlib.new('RIPEMD') File "build/bdist.linux-x86_64/egg/hashlib.py", line 87, in py_new elif name in ('SHA512', 'sha512', 'SHA384', 'sha384'): File "build/bdist.linux-x86_64/egg/hashlib.py", line 80, in get_builtin_constructor elif name in ('SHA256', 'sha256', 'SHA224', 'sha224'): ValueError: unsupported hash type

Please help. I'm in Ubuntu 16.04. Thanks.

Felipe.

doersf commented 8 years ago

Hi

Can you confirm you have the libssl-dev package installed on your system?

PhGalaz commented 8 years ago

Yes sir, I totally do.