Skip to content
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

Not working on windows 10 #14

Open
Sharevex opened this issue Jun 7, 2022 · 2 comments
Open

Not working on windows 10 #14

Sharevex opened this issue Jun 7, 2022 · 2 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@Sharevex
Copy link

Sharevex commented Jun 7, 2022

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 .

IMG_20220607_124426_582

@joeblackwaslike joeblackwaslike self-assigned this Oct 17, 2022
@joeblackwaslike
Copy link
Owner

@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.

@joeblackwaslike joeblackwaslike added the invalid This doesn't seem right label Oct 17, 2022
@alteralt
Copy link

alteralt commented Dec 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants