1200wd / bitcoinlib

Bitcoin and other Cryptocurrencies Library for Python. Includes a fully functional wallet, Mnemonic key generation and management and connection with various service providers to receive and send blockchain and transaction information.
http://bitcoinlib.readthedocs.io/
GNU General Public License v3.0
614 stars 204 forks source link

ERROR: Failed building wheel for fastecdsa #305

Closed StasFQ closed 1 year ago

StasFQ commented 1 year ago

While I'm trying to install this lib, I got this error.MacOS, M1

In file included from src/curve.c:1: src/curve.h:4:10: fatal error: 'gmp.h' file not found

include "gmp.h"

       ^~~~~~~

1 error generated. error: command '/usr/bin/clang' failed with exit code 1

ERROR: Failed building wheel for fastecdsa

mccwdev commented 1 year ago

You need to install the GMP library dependencies:

apt install build-essential python3-dev libgmp3-dev

More info can be found here: https://bitcoinlib.readthedocs.io/en/latest/source/_static/manuals.install.html and here: https://github.com/AntonKueltz/fastecdsa#installing

mccwdev commented 1 year ago

Moved to discussions: https://github.com/1200wd/bitcoinlib/discussions/306