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

Error install And Run #10

Open
AhrimanSefid opened this issue Dec 17, 2021 · 0 comments
Open

Error install And Run #10

AhrimanSefid opened this issue Dec 17, 2021 · 0 comments

Comments

@AhrimanSefid
Copy link

hi can help fixed Error
and can help 80 cpu add support.

Error :

`Building wheels for collected packages: fastecdsa
Building wheel for fastecdsa (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/u122488/btc_words-main/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v88miup6/fastecdsa_f637ef819f974feebbf858e928332aac/setup.py'"'"'; file='"'"'/tmp/pip-install-v88miup6/fastecdsa_f637ef819f974feebbf858e928332aac/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-cj_m5mjl
cwd: /tmp/pip-install-v88miup6/fastecdsa_f637ef819f974feebbf858e928332aac/
Complete output (49 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/fastecdsa
copying fastecdsa/curve.py -> build/lib.linux-x86_64-3.6/fastecdsa
copying fastecdsa/init.py -> build/lib.linux-x86_64-3.6/fastecdsa
copying fastecdsa/point.py -> build/lib.linux-x86_64-3.6/fastecdsa
copying fastecdsa/util.py -> build/lib.linux-x86_64-3.6/fastecdsa
copying fastecdsa/ecdsa.py -> build/lib.linux-x86_64-3.6/fastecdsa
copying fastecdsa/benchmark.py -> build/lib.linux-x86_64-3.6/fastecdsa
copying fastecdsa/keys.py -> build/lib.linux-x86_64-3.6/fastecdsa
creating build/lib.linux-x86_64-3.6/fastecdsa/encoding
copying fastecdsa/encoding/sec1.py -> build/lib.linux-x86_64-3.6/fastecdsa/encoding
copying fastecdsa/encoding/asn1.py -> build/lib.linux-x86_64-3.6/fastecdsa/encoding
copying fastecdsa/encoding/init.py -> build/lib.linux-x86_64-3.6/fastecdsa/encoding
copying fastecdsa/encoding/pem.py -> build/lib.linux-x86_64-3.6/fastecdsa/encoding
copying fastecdsa/encoding/util.py -> build/lib.linux-x86_64-3.6/fastecdsa/encoding
copying fastecdsa/encoding/der.py -> build/lib.linux-x86_64-3.6/fastecdsa/encoding
creating build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_whitespace_parsing.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_prime_field_curve_math.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_p256_ecdsa.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_brainpool_ecdh.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_rfc6979_ecdsa.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/init.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_point.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_key_recovery.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_nonce_generation.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_whycheproof_vectors.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_keygen.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_prehashed.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_key_export_import.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
creating build/lib.linux-x86_64-3.6/fastecdsa/tests/encoding
copying fastecdsa/tests/encoding/test_sec1.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests/encoding
copying fastecdsa/tests/encoding/init.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests/encoding
copying fastecdsa/tests/encoding/test_der.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests/encoding
running build_ext
building 'fastecdsa.curvemath' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isrc/ -I/usr/include/python3.6m -I/home/u122488/btc_words-main/venv/include/python3.6m -c src/curveMath.c -o build/temp.linux-x86_64-3.6/src/curveMath.o -O2
In file included from src/curveMath.c:1:0:
src/curveMath.h:6:10: fatal error: gmp.h: No such file or directory
#include <gmp.h>
^~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

ERROR: Failed building wheel for fastecdsa
Running setup.py clean for fastecdsa
Failed to build fastecdsa
Installing collected packages: zipp, typing-extensions, urllib3, importlib-metadata, idna, greenlet, charset-normalizer, certifi, SQLAlchemy, scrypt, requests, pyaes, numpy, fastecdsa, bitcoinlib
Running setup.py install for fastecdsa ... error
ERROR: Command errored out with exit status 1:
command: /home/u122488/btc_words-main/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v88miup6/fastecdsa_f637ef819f974feebbf858e928332aac/setup.py'"'"'; file='"'"'/tmp/pip-install-v88miup6/fastecdsa_f637ef819f974feebbf858e928332aac/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-0zdtz_lj/install-record.txt --single-version-externally-managed --compile --install-headers /home/u122488/btc_words-main/venv/include/site/python3.6/fastecdsa
cwd: /tmp/pip-install-v88miup6/fastecdsa_f637ef819f974feebbf858e928332aac/
Complete output (51 lines):
running install
/home/u122488/btc_words-main/venv/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/fastecdsa
copying fastecdsa/curve.py -> build/lib.linux-x86_64-3.6/fastecdsa
copying fastecdsa/init.py -> build/lib.linux-x86_64-3.6/fastecdsa
copying fastecdsa/point.py -> build/lib.linux-x86_64-3.6/fastecdsa
copying fastecdsa/util.py -> build/lib.linux-x86_64-3.6/fastecdsa
copying fastecdsa/ecdsa.py -> build/lib.linux-x86_64-3.6/fastecdsa
copying fastecdsa/benchmark.py -> build/lib.linux-x86_64-3.6/fastecdsa
copying fastecdsa/keys.py -> build/lib.linux-x86_64-3.6/fastecdsa
creating build/lib.linux-x86_64-3.6/fastecdsa/encoding
copying fastecdsa/encoding/sec1.py -> build/lib.linux-x86_64-3.6/fastecdsa/encoding
copying fastecdsa/encoding/asn1.py -> build/lib.linux-x86_64-3.6/fastecdsa/encoding
copying fastecdsa/encoding/init.py -> build/lib.linux-x86_64-3.6/fastecdsa/encoding
copying fastecdsa/encoding/pem.py -> build/lib.linux-x86_64-3.6/fastecdsa/encoding
copying fastecdsa/encoding/util.py -> build/lib.linux-x86_64-3.6/fastecdsa/encoding
copying fastecdsa/encoding/der.py -> build/lib.linux-x86_64-3.6/fastecdsa/encoding
creating build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_whitespace_parsing.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_prime_field_curve_math.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_p256_ecdsa.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_brainpool_ecdh.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_rfc6979_ecdsa.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/init.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_point.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_key_recovery.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_nonce_generation.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_whycheproof_vectors.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_keygen.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_prehashed.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
copying fastecdsa/tests/test_key_export_import.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests
creating build/lib.linux-x86_64-3.6/fastecdsa/tests/encoding
copying fastecdsa/tests/encoding/test_sec1.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests/encoding
copying fastecdsa/tests/encoding/init.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests/encoding
copying fastecdsa/tests/encoding/test_der.py -> build/lib.linux-x86_64-3.6/fastecdsa/tests/encoding
running build_ext
building 'fastecdsa.curvemath' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isrc/ -I/usr/include/python3.6m -I/home/u122488/btc_words-main/venv/include/python3.6m -c src/curveMath.c -o build/temp.linux-x86_64-3.6/src/curveMath.o -O2
In file included from src/curveMath.c:1:0:
src/curveMath.h:6:10: fatal error: gmp.h: No such file or directory
#include <gmp.h>
^~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/u122488/btc_words-main/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v88miup6/fastecdsa_f637ef819f974feebbf858e928332aac/setup.py'"'"'; file='"'"'/tmp/pip-install-v88miup6/fastecdsa_f637ef819f974feebbf858e928332aac/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-0zdtz_lj/install-record.txt --single-version-externally-managed --compile --install-headers /home/u122488/btc_words-main/venv/include/site/python3.6/fastecdsa Check the logs for full command output.`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant