ofek / coincurve

Cross-platform Python bindings for libsecp256k1
https://ofek.dev/coincurve/
Apache License 2.0
152 stars 47 forks source link

installing coincurve pip install #167

Open xavier53348 opened 1 week ago

xavier53348 commented 1 week ago

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting coincurve Using cached coincurve-20.0.0.tar.gz (122 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... error error: subprocess-exited-with-error

× pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> [9 lines of output] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple Collecting cmake>=3.15 Downloading https://www.piwheels.org/simple/cmake/cmake-3.29.6-py3-none-linux_armv7l.whl (19.9 MB) ━━━━ 2.1/19.9 MB 31.0 kB/s eta 0:09:37 ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them. cmake>=3.15 from https://www.piwheels.org/simple/cmake/cmake-3.29.6-py3-none-linux_armv7l.whl#sha256=dfe5d988e4821f4dc91375656a34de68f6fce09fdc2ac6d01b80cd9e4bb64d0a: Expected sha256 dfe5d988e4821f4dc91375656a34de68f6fce09fdc2ac6d01b80cd9e4bb64d0a Got 1c0849e3de9bab3a5ace53b1e36034de593fe11b74e1822e1ab7904522c663e7

  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

ofek commented 1 week ago

That looks like a known bug in pip where incomplete network requests fail. Can you simply try again?

xavier53348 commented 1 week ago

I'm using raspberry pi 2 arm

I solved using

pip install coincurve --only-binary :all:

the trouble was installing tronpy library In coincurve start compilate and returned hash error