Hi, thanks for the good work done. I am trying to run cert-issuer using Ethereum but I have the error No module named ‘ethereum’ as could be seen below. Also included is my conf.ini file. I have already read other posts like https://community.blockcerts.org/t/no-module-named-cert-issuer/293/8 but still does not work for me.
. By the way I’ve already run the command
“python setup.py experimental --blockchain=ethereum” and was successful as could be seen below.
. Meanwhile, when I run using “python cert-issuer -c conf.ini”, I get the error "python: can’t open file ‘cert-issuer’ ". Any help, please?
To make it short, it means that you lacked some “dependencies” for the libraries you wanted to use. This is a common problem when installing python packages, mainly in windows. Before trying to use any kind of library, first it is suggested to look up whether it needs another library in python “family”.
The solution is to provide the python interpreter with the path-to-your-module/library. The simplest solution is to append that python path to your sys.path list. In your notebook, first try:
This isn’t a permanent change in sys.path, because when you log out, your environment is reset, so any variables you may have set are lost.
The better (and more permanent) way to solve this is to set your PYTHONPATH, which provides the interpreter with additional directories look in for python packages/modules.
from BASH type: export PYTHONPATH=/path/to/new/folder:/another/path/...../
#each path must be separated by a colon