Isaacdelly / Plutus

An automated bitcoin wallet collider that brute forces random wallet addresses
1.11k stars 520 forks source link

Problem with fastecdsa #303

Open eistee92 opened 10 months ago

eistee92 commented 10 months ago

I have the following problem and don´t know how to solve it. I used Ubuntu 20.04.6 LTS and OpenSSL 1.1.1

root@LAPTOP:/usr/plutus# cd /usr/plutus && pip3 install -r requirements.txt Collecting fastecdsa Downloading fastecdsa-2.3.0.tar.gz (49 kB) |████████████████████████████████| 49 kB 69 kB/s Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing wheel metadata ... done Collecting starkbank-ecdsa Downloading starkbank-ecdsa-2.2.0.tar.gz (14 kB) Building wheels for collected packages: fastecdsa, starkbank-ecdsa Building wheel for fastecdsa (PEP 517) ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 /tmp/tmp17t45oxy build_wheel /tmp/tmp61aud7q2 cwd: /tmp/pip-install-_7fkpebe/fastecdsa Complete output (57 lines): running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-38 creating build/lib.linux-x86_64-cpython-38/fastecdsa copying fastecdsa/benchmark.py -> build/lib.linux-x86_64-cpython-38/fastecdsa copying fastecdsa/ecdsa.py -> build/lib.linux-x86_64-cpython-38/fastecdsa copying fastecdsa/point.py -> build/lib.linux-x86_64-cpython-38/fastecdsa copying fastecdsa/curve.py -> build/lib.linux-x86_64-cpython-38/fastecdsa copying fastecdsa/util.py -> build/lib.linux-x86_64-cpython-38/fastecdsa copying fastecdsa/keys.py -> build/lib.linux-x86_64-cpython-38/fastecdsa copying fastecdsa/init.py -> build/lib.linux-x86_64-cpython-38/fastecdsa creating build/lib.linux-x86_64-cpython-38/fastecdsa/tests copying fastecdsa/tests/test_prehashed.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests copying fastecdsa/tests/test_key_export_import.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests copying fastecdsa/tests/test_rfc6979_ecdsa.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests copying fastecdsa/tests/test_prime_field_curve_math.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests copying fastecdsa/tests/test_point.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests copying fastecdsa/tests/test_whycheproof_vectors.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests copying fastecdsa/tests/test_p256_ecdsa.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests copying fastecdsa/tests/test_key_recovery.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests copying fastecdsa/tests/test_keygen.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests copying fastecdsa/tests/test_nonce_generation.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests copying fastecdsa/tests/test_brainpool_ecdh.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests copying fastecdsa/tests/init.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests copying fastecdsa/tests/test_whitespace_parsing.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests creating build/lib.linux-x86_64-cpython-38/fastecdsa/encoding copying fastecdsa/encoding/sec1.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/encoding copying fastecdsa/encoding/asn1.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/encoding copying fastecdsa/encoding/util.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/encoding copying fastecdsa/encoding/der.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/encoding copying fastecdsa/encoding/pem.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/encoding copying fastecdsa/encoding/init.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/encoding creating build/lib.linux-x86_64-cpython-38/fastecdsa/tests/encoding copying fastecdsa/tests/encoding/test_der.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests/encoding copying fastecdsa/tests/encoding/test_sec1.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests/encoding copying fastecdsa/tests/encoding/init.py -> build/lib.linux-x86_64-cpython-38/fastecdsa/tests/encoding running egg_info writing fastecdsa.egg-info/PKG-INFO writing dependency_links to fastecdsa.egg-info/dependency_links.txt writing top-level names to fastecdsa.egg-info/top_level.txt reading manifest file 'fastecdsa.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'fastecdsa.egg-info/SOURCES.txt' running build_ext building 'fastecdsa.curvemath' extension creating build/temp.linux-x86_64-cpython-38 creating build/temp.linux-x86_64-cpython-38/src x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc/ -I/usr/include/python3.8 -c src/curve.c -o build/temp.linux-x86_64-cpython-38/src/curve.o -O2 In file included from src/curve.c:1: src/curve.h:4:10: fatal error: gmp.h: No such file or directory 4 | #include "gmp.h" | ^~~ compilation terminated. error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1

ERROR: Failed building wheel for fastecdsa Building wheel for starkbank-ecdsa (setup.py) ... done Created wheel for starkbank-ecdsa: filename=starkbank_ecdsa-2.2.0-py3-none-any.whl size=15972 sha256=fa1b652dc810401804d9295418b914eb28e6d1c484402a59b20c7b7f4c8200b7 Stored in directory: /root/.cache/pip/wheels/ae/84/09/5c4abe28789e5a3e7d908ccfdbc681c2e0c2eb41b82f4a8a67 Successfully built starkbank-ecdsa Failed to build fastecdsa ERROR: Could not build wheels for fastecdsa which use PEP 517 and cannot be installed directly root@LAPTOP:/usr/plutus# python3 plutus.py Traceback (most recent call last): File "plutus.py", line 5, in from fastecdsa import keys, curve ModuleNotFoundError: No module named 'fastecdsa'

fthr1 commented 4 weeks ago

same