Destiner / blocksmith

Bitcoin/Ethereum key manipulation
Apache License 2.0
256 stars 88 forks source link

Keccak implementations missing when installed from pip #1

Closed adityanalge closed 6 years ago

adityanalge commented 6 years ago

I installed blocksmith using pip. The following issue arises on trying to import blocksmith in the python3 console using Spyder.

line 3 - ethereum.py

from Crypto.Hash import keccak

ImportError: cannot import name 'keccak'

Destiner commented 6 years ago

Yes, you're right. The pycryptodome package was missing. Fixed it.

Latest release (1.2.1) should work.

kaankozan commented 5 years ago

sudo python3.6 -m pip install pycryptod omex

Or

sudo python3.6 -m pip install pycryptod ome

This command lines my keccak problem fix it

vbooka1 commented 3 years ago

note that you also need to replace from Crypto.Hash import keccak with from Cryptodome.Hash import keccak

waveboy800 commented 1 year ago

Thanks,the problem was solved