Closed FrankC01 closed 11 months ago
Hello, that's a coincurve library problem, you should open the issue on the coincurve page.
Emanuele
coincurve installs fine:
$ pip install coincurve
Collecting coincurve
Using cached coincurve-18.0.0-cp311-cp311-macosx_11_0_arm64.whl (1.2 MB)
Collecting asn1crypto (from coincurve)
Using cached asn1crypto-1.5.1-py2.py3-none-any.whl (105 kB)
Collecting cffi>=1.3.0 (from coincurve)
Using cached cffi-1.15.1-cp311-cp311-macosx_11_0_arm64.whl (174 kB)
Collecting pycparser (from cffi>=1.3.0->coincurve)
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Installing collected packages: asn1crypto, pycparser, cffi, coincurve
Successfully installed asn1crypto-1.5.1 cffi-1.15.1 coincurve-18.0.0 pycparser-2.21
But I don't install it directly, it is pulled in as dependency in bip-utils.
Probably it's because you are installing an older version (==2.7.0
) and the coincurve version in the dependency file was older (I remember I updated it at some point) and not compatible with the Apple M1, it should work by installing the last version
@ebellocchia Hi. This is still the case with the latest released version and even with the git code. This happens because bip-utils depends on coincurve>=15.0.1,<18.0.0
which explicitly excludes coincurve 18.0.0 which AFAIK is the only version of coincurve that ships aarch64 python 3.11 compatible binaries.
I suggest upping the requirements file to remove the version cap on coincurve or at least allow coincurve 18.0.0
You are right, my bad, I was conviced to have updated it
OS: Ventura (M1)
I have pyenv set to 3.11.4 in local venvl env
requirements.txt
bip-utils==2.7.0
installing