Error issuing certificate

Hi, I am trying to issue certificates fllowing the steps in
when it comes to the last command: cert-issuer -c /etc/cert-issuer/conf.ini I get the following error. I already tried running in an environment but it is not working

WARNING - Your app is configured to skip the wifi check when the USB is plugged in. Read the documentation to ensure this is what you want, since this is less secure
INFO - This run will try to issue on the bitcoin_regtest chain
Traceback (most recent call last):
File “/usr/bin/cert-issuer”, line 11, in
load_entry_point(‘cert-issuer==2.0.17’, ‘console_scripts’, ‘cert-issuer’)()
File “/usr/lib/python3.6/site-packages/cert_issuer/”, line 17, in cert_issuer_main
File “/usr/lib/python3.6/site-packages/cert_issuer/”, line 34, in main
from cert_issuer.blockchain_handlers import bitcoin
File “/usr/lib/python3.6/site-packages/cert_issuer/blockchain_handlers/bitcoin/”, line 7, in
from cert_issuer.blockchain_handlers.bitcoin.connectors import BitcoinServiceProviderConnector, MockServiceProviderConnector
File “/usr/lib/python3.6/site-packages/cert_issuer/blockchain_handlers/bitcoin/”, line 13, in
from pycoin.serialize import b2h, b2h_rev, h2b
ImportError: cannot import name ‘b2h’

The root issue for this is that pycoin released a new version (after almost 2 years) this week. In this new version there are a lot of non-backwards compatible changes that break cert-issuer in multiple places. Please check for reference but until that gets merged or fixed some other way you can get away by locking pycoin to v0.80.


@faustow Thanks it works! I uninstalled v0.90 and instead used v0.80 and that solve all the issues, now is issuing the certificates.

@mylliswang Comment désinstallé la version 0.8 de pycoin? Merci

use this command: pip uninstall pycoin==0.9 and then pip install pycoin==0.8
(if you are using pip3 then use pip3 uninstall pycoin==0.9)

@mylliswang it does not work, I use debian 9 . pip install pycoin==0.8
Collecting pycoin==0.8
Could not find a version that satisfies the requirement pycoin==0.8 (from versions: 0.50.macosx-10.9-intel, 0.1, 0.2, 0.4, 0.9.20190630, 0.11, 0.12, 0.13, 0.14, 0.15, 0.21, 0.22, 0.23, 0.24, 0.25, 0.26, 0.41, 0.42, 0.50, 0.51, 0.52, 0.60, 0.61, 0.62, 0.70, 0.75, 0.76, 0.77, 0.80, 0.90.20190630)
No matching distribution found for pycoin==0.8


I think you need to use pycoin==0.80