bitaps-com / pybtc

Python bitcoin library
GNU General Public License v3.0
86 stars 35 forks source link

doesn't work on python 3.6.6 #12

Closed ParmuSingh closed 4 years ago

ParmuSingh commented 5 years ago

the dependency secp156k1 was last updated in 2016 and is not supported for py3.6.6. So I cannot use the library in python 3.6.6.

when running pip install pybtc:

Collecting pybtc
  Downloading https://files.pythonhosted.org/packages/a1/66/1f3c4ae65452d8e84f1524b797dcee919794f449ce912c730dd1e45e0008/pybtc-2.0.9-py3-none-any.whl (1.4MB)
     |████████████████████████████████| 1.4MB 467kB/s
Collecting secp256k1 (from pybtc)
  Downloading https://files.pythonhosted.org/packages/52/62/d7bf3829e126e517e253d2e22a63511c54bbaac34d7ddea316cde040fc49/secp256k1-0.13.2.tar.gz (156kB)
     |████████████████████████████████| 163kB 595kB/s
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: 'pkg-config' is required to install this package. Please see the README for details.
    ----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\itsme\AppData\Local\Temp\pip-install-_r08xvzo\secp256k1\
4tochka commented 5 years ago

Please try from git latest version of pybtc

pip install git+https://github.com/bitaps-com/pybtc pip package will be updated within 2 weeks