coinaddr
coinaddr copied to clipboard
Not working on windows 10
Hi , I've tried installing coinaddr on windows 10 and i haven't been able the install it , it just throws an error and it seems i can't fix it . Please help with the problem .
I've tried installing with pip install coinaddr
and python pip install coinaddr
I'll attach a photo of the error .
@Atasharef1381 it looks to me like you're missing a crypto dependency required by the pysha3 library. This kind of problem has always been a thing for any project that relates to cryptography. You'll need to first install the referenced build tools so that python can build the c modules required by pysha3.
Since python 3.11, I have not been able to install pysha3 in any way. Neither on windows nor on ubuntu
To use the library, I had to install it without dependencies
pip install coinaddrng --no-deps
I installed the rest of the necessary dependencies manually.
import sys
sys.modules["sha3"] = type("object", (object,), {})
Then, before importing the library, I have this code. Which is a stub and does not raise an ImportError exception.
A better solution would be to take another user's fork. Where pysha3 is replaced by pycryptodome. I have not tested this solution, but in my opinion, it should work