Comments (5)
seems you don't have command 'make'
try install make
from secp256k1-py.
make
is available. It seems that this package cannot be installed using Python 3.6 (default) but it works with 3.5
from secp256k1-py.
I can confirm this bug on Arch Linux. Installing this library via pip on Python3.5 succeeds, presumably because it uses a prebuilt package as stated in the Readme, but installing via pip on Python3.6 triggers a build of the C library which fails as shown above by @ppitonak.
$ gcc --version
gcc (GCC) 7.2.1 20171224
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To highlight the build error:
/tmp/pip-build-p8qbm3sp/secp256k1/libsecp256k1/src/tests.c: In function ‘test_ecdsa_der_parse’:
/tmp/pip-build-p8qbm3sp/secp256k1/libsecp256k1/src/tests.c:3702:52: error: dereferencing pointer to incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
valid_openssl = !BN_is_negative(sig_openssl->r) && !BN_is_negative(sig_openssl->s) && BN_num_bits(sig_openssl->r) > 0 && BN_num_bits(sig_openssl->r) <= 256 && BN_num_bits(sig_openssl->s) > 0 && BN_num_bits(sig_openssl->s) <= 256;
I wouldn't be surprised if it's somehow tied to us using a newer version of gcc than the libsecp256k1 devs which handles this error differently.
from secp256k1-py.
I see that there are recompiled binary wheels available for Python 2.7, 3.3, 3.4, and 3.5 on Linux. Would be awesome to have it too for Python 3.6
from secp256k1-py.
Please see #24 (comment) for a workaround.
from secp256k1-py.
Related Issues (20)
- Chfast's fork doesn't compile directly HOT 2
- Wheels? HOT 2
- OSX Installation Broken HOT 5
- Deprecation warnings w/ cffi 1.8.3 HOT 2
- Remove pkg-config dependency HOT 2
- Wheel for 3.6 HOT 1
- ValueError: invalid literal for int() with base 10: 'post20170921' HOT 2
- Build on debian 9 with OpenSSL 1.1.0f HOT 4
- Exception: secp256k1_schnorr not enabled HOT 2
- No module named \'secp256k1._libsecp256k1\ HOT 1
- Not able to install python package secp256k1 HOT 14
- Error when loading TypeError: 'ellipsis' object is not iterable
- Some tests fail on FreeBSD (in the port) HOT 1
- can't install secp256k1 HOT 18
- Cannot install in Mac Catalina HOT 1
- How to Enable ECDH? HOT 1
- "pip install secp256k1" fails in python 3.7 venv on FreeBSD HOT 1
- Produce 32 bytes from PrivateKey() roundtrip back to PrivateKey(32 bytes)?
- Don't create secp256k1_context in constructor HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from secp256k1-py.