# No module named setuptools

**URL:** <https://community.blockcerts.org/t/no-module-named-setuptools/1383>\
**Category:** Technical\
**Created:** [September 25, 2018, 1:01pm UTC](https://community.blockcerts.org/t/no-module-named-setuptools/1383 "2018-09-25T13:01:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taibah](https://avatars.discourse-cdn.com/v4/letter/t/7c8e57/32.png) [@Taibah](https://community.blockcerts.org/u/Taibah)\
**Post date:** [September 25, 2018, 1:01pm UTC](https://community.blockcerts.org/t/no-module-named-setuptools/1383/1 "2018-09-25T13:01:25Z")

</div>

I try to issue a certificate using ethereum ropsten network. Everytime i write ```  
python setup.py experimental --blockchain=ethereum i get this error

bash-4.3# python setup.py experimental --blockchain=ethereum

Traceback (most recent call last):

File “setup.py”, line 6, in \<module\>

from setuptools import find\_packages

ImportError: No module named setuptools

Can someone help me what im doing wrong thanks im using the most recent version of cert-issuer

---

<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:** [September 25, 2018, 2:02pm UTC](https://community.blockcerts.org/t/no-module-named-setuptools/1383/2 "2018-09-25T14:02:31Z")

</div>

Are you using a virtual environment? If not, you may want to read the recommendations on it here:

> <https://github.com/blockchain-certificates/cert-issuer/blob/master/docs/virtualenv.md>

---

<div class="post-metadata">

**Author:** ![Taibah](https://avatars.discourse-cdn.com/v4/letter/t/7c8e57/32.png) [@Taibah](https://community.blockcerts.org/u/Taibah)\
**Post date:** [October 5, 2018, 7:20am UTC](https://community.blockcerts.org/t/no-module-named-setuptools/1383/3 "2018-10-05T07:20:23Z")

</div>

Yes i have a running viritual enviroment

Failed building wheel for scrypt

subprocess.CalledProcessError: Command ‘[’/Users/…/Documents/ethereum\_/cert-tools/venv/bin/python’, ‘-m’, ‘pip’, ‘install’, ‘ethereum==2.3.1\n’]’ returned non-zero exit status 1.

scrypt-1.2.1/libcperciva/crypto/crypto\_aes.c:6:10: fatal error: ‘openssl/aes.h’ file not found

---

<div class="post-metadata">

**Author:** ![lparker](https://avatars.discourse-cdn.com/v4/letter/l/3bc359/32.png) [@lparker](https://community.blockcerts.org/u/lparker)\
**Post date:** [October 5, 2018, 4:25pm UTC](https://community.blockcerts.org/t/no-module-named-setuptools/1383/4 "2018-10-05T16:25:14Z")

</div>

Ah, yes, I have seen this before as well. It seems to be the case that OpenSSL flat-out will not build on Windows ☹ I’ve never been able to get things going in Windows, as a result of this. To get around that, I ended up dropping an Ubuntu VM on my box, and now I just do all of my Blockcerts development in my VM.

---

<div class="post-metadata">

**Author:** ![Taibah](https://avatars.discourse-cdn.com/v4/letter/t/7c8e57/32.png) [@Taibah](https://community.blockcerts.org/u/Taibah)\
**Post date:** [October 8, 2018, 12:58pm UTC](https://community.blockcerts.org/t/no-module-named-setuptools/1383/5 "2018-10-08T12:58:27Z")

</div>

How can this be fixed? everytime i try to run the following command i have already setup my docker image with the correct settings of the config.ini

issuing\_address = my\_address

chain=ethereum\_ropsten

usb\_name=/etc/cert-issuer/

key\_file=pk\_issuer.txt

unsigned\_certificates\_dir=/etc/cert-issuer/data/unsigned\_certificates

blockchain\_certificates\_dir=/etc/cert-issuer/data/blockchain\_certificates

work\_dir=/etc/cert-issuer/work

no\_safe\_mode

~

~

````auto
python setup.py experimental --blockchain=ethereum
``` the certificate is not getting issued on the ropsten chain i only get this message and nothing happends.
running experimental
Successfully installed pysha3-1.0.2
Requirement already satisfied: python-bitcoinlib>=0.10.1 in ./venv/lib/python3.7/site-packages (0.10.1)
Requirement already satisfied: tox>=3.0.0 in ./venv/lib/python3.7/site-packages (3.4.0)
Requirement already satisfied: toml>=0.9.4 in ./venv/lib/python3.7/site-packages (from tox>=3.0.0) (0.10.0)
Requirement already satisfied: virtualenv>=1.11.2 in ./venv/lib/python3.7/site-packages (from tox>=3.0.0) (16.0.0)
Requirement already satisfied: pluggy<1,>=0.3.0 in ./venv/lib/python3.7/site-packages (from tox>=3.0.0) (0.7.1)
Requirement already satisfied: six<2,>=1.0.0 in ./venv/lib/python3.7/site-packages (from tox>=3.0.0) (1.11.0)
Requirement already satisfied: setuptools>=30.0.0 in ./venv/lib/python3.7/site-packages (from tox>=3.0.0) (40.4.3)
Requirement already satisfied: py<2,>=1.4.17 in ./venv/lib/python3.7/site-packages (from tox>=3.0.0) (1.6.0)
Requirement already satisfied: ethereum==2.3.1 in ./venv/lib/python3.7/site-packages (2.3.1)
Requirement already satisfied: pbkdf2 in ./venv/lib/python3.7/site-packages (from ethereum==2.3.1) (1.3)
Requirement already satisfied: PyYAML in ./venv/lib/python3.7/site-packages (from ethereum==2.3.1) (3.13)
Requirement already satisfied: py-ecc in ./venv/lib/python3.7/site-packages (from ethereum==2.3.1) (1.4.3)
Requirement already satisfied: repoze.lru in ./venv/lib/python3.7/site-packages (from ethereum==2.3.1) (0.7)
Requirement already satisfied: pycryptodome>=3.4.7 in ./venv/lib/python3.7/site-packages (from ethereum==2.3.1) (3.6.6)
Requirement already satisfied: pyethash in ./venv/lib/python3.7/site-packages (from ethereum==2.3.1) (0.1.27)
Requirement already satisfied: coincurve>=7.0.0 in ./venv/lib/python3.7/site-packages (from ethereum==2.3.1) (9.0.0)
Requirement already satisfied: pysha3>=1.0.1 in ./venv/lib/python3.7/site-packages (from ethereum==2.3.1) (1.0.2)
Requirement already satisfied: scrypt in ./venv/lib/python3.7/site-packages (from ethereum==2.3.1) (0.8.6)
Requirement already satisfied: rlp>=0.4.7 in ./venv/lib/python3.7/site-packages (from ethereum==2.3.1) (0.6.0)
Requirement already satisfied: future in ./venv/lib/python3.7/site-packages (from ethereum==2.3.1) (0.16.0)
Requirement already satisfied: cffi>=1.3.0 in ./venv/lib/python3.7/site-packages (from coincurve>=7.0.0->ethereum==2.3.1) (1.11.5)
Requirement already satisfied: asn1crypto in ./venv/lib/python3.7/site-packages (from coincurve>=7.0.0->ethereum==2.3.1) (0.24.0)
Requirement already satisfied: pycparser in ./venv/lib/python3.7/site-packages (from cffi>=1.3.0->coincurve>=7.0.0->ethereum==2.3.1) (2.19)
Requirement already satisfied: rlp<1 in ./venv/lib/python3.7/site-packages (0.6.0)
````

---

<div class="post-metadata">

**Author:** ![lparker](https://avatars.discourse-cdn.com/v4/letter/l/3bc359/32.png) [@lparker](https://community.blockcerts.org/u/lparker)\
**Post date:** [October 8, 2018, 4:44pm UTC](https://community.blockcerts.org/t/no-module-named-setuptools/1383/6 "2018-10-08T16:44:47Z")

</div>

That looks basically okay to me, as far as Python pulling in its requirements. If that all goes through, you should be able to run cert-issuer as the next step.

---

<div class="post-metadata">

**Author:** ![Taibah](https://avatars.discourse-cdn.com/v4/letter/t/7c8e57/32.png) [@Taibah](https://community.blockcerts.org/u/Taibah)\
**Post date:** [October 11, 2018, 1:01pm UTC](https://community.blockcerts.org/t/no-module-named-setuptools/1383/7 "2018-10-11T13:01:48Z")

</div>

I have tried everthing i first get error of **ModuleNotFoundError: No module named ‘rlp’** i install this by pip install rlp then i get a message ethereum not found? can someone help me out i have tried almost everything nothing seems to be working.

---

<div class="post-metadata">

**Author:** ![JustNET](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JustNET](https://community.blockcerts.org/u/JustNET)\
**Post date:** [January 9, 2020, 8:24am UTC](https://community.blockcerts.org/t/no-module-named-setuptools/1383/8 "2020-01-09T08:24:36Z")

</div>

I have also experienced this same issue. Please, has it been resolved. If yes, can you help me?

---

<div class="post-metadata">

**Author:** ![JustNET](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JustNET](https://community.blockcerts.org/u/JustNET)\
**Post date:** [January 14, 2020, 1:10am UTC](https://community.blockcerts.org/t/no-module-named-setuptools/1383/9 "2020-01-14T01:10:48Z")

</div>

Solved now. I had to run the following;  
sudo apt-get install build-essential libssl-dev python-dev  
sudo apt-get install -y scrypt
