Closed BalogunMalikO closed 1 year ago
The root cause is with fastecdsa
package, the fix should come from them. But also, would be nice to have bitcoinlib
version w/o this dependency (if possible), in case fastecdsa
team takes their time.
EDIT:
OS: Linux pop-os 6.2.6-76060206-generic #202303130630~1681329778~22.04~d824cd4
Poetry: 1.4.2
Python: 3.10.6
Hi,
I had this error too. To fix that, simply run this command: sudo apt-get install libgmp-dev
.
Helped for me at least. Let me know if you need any help / it does not work.
By the way, this is not an issue only with MacBooks. I also had this issue on my Ubuntu 23.04 server.
You need to install some required packages first before installing Bitcoinlib, see https://github.com/1200wd/bitcoinlib#pre-requirements-linux.
I did not run into any errors when installing on Ubuntu server 23.04
try use a virtual environment and change the cache dir
python3 -m venv <the path you want to store the virtual environment>
pip install --cache-dir ~/<specify any temp cache dir> bitcoinlib
works for me
How can I use bitcoinlib on macbook? I get this error evrytime i try to pip install bitcoinlib