# Error while installing Blockcerts for use with Ethereum

**URL:** https://community.blockcerts.org/t/error-while-installing-blockcerts-for-use-with-ethereum/1008
**Category:** Support
**Created:** [April 30, 2018, 6:25pm UTC](https://community.blockcerts.org/t/error-while-installing-blockcerts-for-use-with-ethereum/1008 "2018-04-30T18:25:03Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![NinateTT](https://avatars.discourse-cdn.com/v4/letter/n/a88e57/32.png) [@NinateTT](https://community.blockcerts.org/u/NinateTT)
#### Post date: [April 30, 2018, 6:25pm UTC](https://community.blockcerts.org/t/error-while-installing-blockcerts-for-use-with-ethereum/1008/1 "2018-04-30T18:25:03Z")

</div>

Okay, so I followed the guide on the README and the Quick Start worked out fine, but when I tried to follow the instructions for Ethereum I got an error with the following command:  
python setup.py experimental --blockchain=ethereum  
The error was:  
ImportError: No module named pip

But then I changed the command to ‘python3 …’ because I saw that in the Dockerfile only pip3 is being installed, but then I got another error saying  
AttributeError: module ‘pip’ has no attribute ‘main’

I searched for it on the internet and it seems that since the latest versions of pip there is no ‘main’ and therefore I downgraded pip with  
pip3 install --upgrade pip==9.0.3

But then I got the following error:  
Exception:  
Traceback (most recent call last):  
File “/usr/lib/python3.6/site-packages/pip/basecommand.py”, line 215, in main  
status = self.run(options, args)  
File “/usr/lib/python3.6/site-packages/pip/commands/install.py”, line 312, in run  
wheel\_cache  
File “/usr/lib/python3.6/site-packages/pip/basecommand.py”, line 276, in populate\_requirement\_set  
wheel\_cache=wheel\_cache  
File “/usr/lib/python3.6/site-packages/pip/req/req\_install.py”, line 185, in from\_line  
name = name.strip()  
AttributeError: ‘list’ object has no attribute ‘strip’

Now I don’t know what to do… I’d be greatful if someone could tell me what I’m doing wrong. Also, I’m not sure if I’m supposed to but I’m doing all of this inside Docker.

Thanks.

---

<div class="post-metadata">

### Author: ![kim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.blockcerts.org/kim/32/307_2.png) [@kim](https://community.blockcerts.org/u/kim)
#### Post date: [May 2, 2018, 4:49pm UTC](https://community.blockcerts.org/t/error-while-installing-blockcerts-for-use-with-ethereum/1008/2 "2018-05-02T16:49:51Z")

</div>

Hi @NinateTT,  
We’re investigating this issue. We should have an update in a week or so.  
Thanks,  
Kim

---

<div class="post-metadata">

### Author: ![aronning](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@aronning](https://community.blockcerts.org/u/aronning)
#### Post date: [May 4, 2018, 1:24pm UTC](https://community.blockcerts.org/t/error-while-installing-blockcerts-for-use-with-ethereum/1008/3 "2018-05-04T13:24:42Z")

</div>

Hey @NinateTT,

I ran into the same issue with pip 10 as well. I’ve fixed both of those issues and it’s been merged in. Please pull down the latest code and let us know if that doesn’t do it for you!

Anthony

---

<div class="post-metadata">

### Author: ![NinateTT](https://avatars.discourse-cdn.com/v4/letter/n/a88e57/32.png) [@NinateTT](https://community.blockcerts.org/u/NinateTT)
#### Post date: [May 4, 2018, 1:50pm UTC](https://community.blockcerts.org/t/error-while-installing-blockcerts-for-use-with-ethereum/1008/4 "2018-05-04T13:50:21Z")

</div>

Hi @aronning,  
thank you for the fast reply. It did fix the issue on the installation, but I still can’t run it.  
When I run the command indicated on the guide – python3 cert-issuer -c conf\_ethtest.ini – I get the error  
python3: can’t open file ‘cert-issuer’: [Errno 2] No such file or directory.  
So I tried running the standalone command:  
cert-issuer -c conf\_ethtest.ini  
and it runs, but gives the following output:  
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 ethereum\_ropsten chain  
Traceback (most recent call last):  
File “/usr/bin/cert-issuer”, line 11, in   
load\_entry\_point(‘cert-issuer==2.0.12’, ‘console\_scripts’, ‘cert-issuer’)()  
File “/usr/lib/python3.6/site-packages/cert\_issuer/ **main**.py”, line 17, in cert\_issuer\_main  
issue\_certificates.main(parsed\_config)  
File “/usr/lib/python3.6/site-packages/cert\_issuer/issue\_certificates.py”, line 32, in main  
from cert\_issuer import ethereum  
File “/usr/lib/python3.6/site-packages/cert\_issuer/ethereum/ **init**.py”, line 9, in   
from cert\_issuer.ethereum.signer import EthereumSigner  
File “/usr/lib/python3.6/site-packages/cert\_issuer/ethereum/signer.py”, line 2, in   
from ethereum import transactions  
File “/usr/lib/python3.6/site-packages/ethereum/ **init**.py”, line 11, in   
from . import slogging # noqa  
File “/usr/lib/python3.6/site-packages/ethereum/slogging.py”, line 6, in   
from ethereum.utils import bcolors, is\_numeric  
File “/usr/lib/python3.6/site-packages/ethereum/utils.py”, line 13, in   
from rlp.utils import decode\_hex, encode\_hex, ascii\_chr, str\_to\_bytes  
ImportError: cannot import name ‘decode\_hex’

From the message I’d think the problem is in the rlp.utils module which is not part of Blockcerts, but just in case it is something you can solve or at least show me a workaround…

Thanks again.

---

<div class="post-metadata">

### Author: ![aronning](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@aronning](https://community.blockcerts.org/u/aronning)
#### Post date: [May 4, 2018, 2:05pm UTC](https://community.blockcerts.org/t/error-while-installing-blockcerts-for-use-with-ethereum/1008/5 "2018-05-04T14:05:32Z")

</div>

Moving along right with you this morning @NinateTT, reproduced the same error on my end. Hopefully we can get something figured out for you sometime today.

Anthony

---

<div class="post-metadata">

### Author: ![aronning](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@aronning](https://community.blockcerts.org/u/aronning)
#### Post date: [May 4, 2018, 3:41pm UTC](https://community.blockcerts.org/t/error-while-installing-blockcerts-for-use-with-ethereum/1008/6 "2018-05-04T15:41:59Z")

</div>

@NinateTT

Opened a ticket on it here: [RLP update breaks PyEthereum · Issue #88 · blockchain-certificates/cert-issuer · GitHub](https://github.com/blockchain-certificates/cert-issuer/issues/88)

Solution seems to be downgrading RLP to below 1 in the ethereum\_requirements.txt file:

> rlp\<1

Recent problem with pyethereum. Hopefully fixed soon but for now it needs to be below 1.

Edit: It’s been merged in so feel free to pull down the latest code again.

---

<div class="post-metadata">

### Author: ![NinateTT](https://avatars.discourse-cdn.com/v4/letter/n/a88e57/32.png) [@NinateTT](https://community.blockcerts.org/u/NinateTT)
#### Post date: [May 5, 2018, 5:20pm UTC](https://community.blockcerts.org/t/error-while-installing-blockcerts-for-use-with-ethereum/1008/7 "2018-05-05T17:20:31Z")

</div>

Thanks, @aronning, works like a charm!  
I’d just like to give a heads-up that when you install the cert-issuer, it generates the config file for ethereum with a field ‘blockchain = …’ when it should be ‘chain = …’, which makes the program ignore that line and use the bitcoin blockchain instead, but aside from that everything works like expected. Thanks a lot!
