Skip to content

pycoin mismatch #161

@israellevin

Description

@israellevin

After installing a new version with python setup.py develop (also happens with python setup.py install) and running ngccc-cli.py I get the following error:

Traceback (most recent call last):
  File "./ngccc-cli.py", line 16, in <module>
    from ngcccbase.wallet_controller import WalletController
  File "/root/iridis/color/ngcccbase/ngcccbase/wallet_controller.py", line 9, in <module>
    from coindb import CoinQuery
  File "/root/iridis/color/ngcccbase/ngcccbase/coindb.py", line 17, in <module>
    from txcons import RawTxSpec
  File "/root/iridis/color/ngcccbase/ngcccbase/txcons.py", line 13, in <module>
    import pycoin_txcons
  File "/root/iridis/color/ngcccbase/ngcccbase/pycoin_txcons.py", line 11, in <module>
    from pycoin.tx import SecretExponentSolver
ImportError: cannot import name SecretExponentSolver

It seems that pycoin.tx no longer has this SecretExponentSolver. Two possible workarounds are commenting out the import and the part that uses it, or downgrading to an older pycoin version, like so:

pip install https://pypi.python.org/packages/source/p/pycoin/pycoin-0.26.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions