Trouble when install cert-verifier

Dear all,
Could you help me to solve problem when i install and run cert-verifier module like the guide:


The problem appears when I run command: python verifier.py
The result is:

PS E:\Blockchain\blockcert\cert-verifier\cert_verifier> python .\verifier.py
Traceback (most recent call last):
File “.\verifier.py”, line 16, in
from cert_verifier.checks import create_verification_steps
File “C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\cert_verifier\checks.py”, line 9, in
from bitcoin.signmessage import BitcoinMessage, VerifyMessage
File “C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\bitcoin\signmessage.py”, line 14, in
from bitcoin.core.key import CPubKey
File “C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\bitcoin\core\key.py”, line 33, in
ssl = ctypes.cdll.LoadLibrary(ctypes.util.find_library(‘ssl’) or ‘libeay32’)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\ctypes_init
.py", line 426, in LoadLibrary
return self.dlltype(name)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\ctypes_init
.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

I am using Python 3.6.5, OS: Windows 10.

Thank you!

Are you running in a virtual environment? Most python errors get resolved by running the commands in this doc:

Thanks aronning. I’ve installed virtual environment but the problem still there.

PS E:\Google Drive\Cao hoc\Thesis\Blockchain\blockcert\cert-verifier> virtualenv.exe venv
Using base prefix ‘c:\users\admin\appdata\local\programs\python\python37’
New python executable in E:\GOOGLE~1\CAOHOC~1\Thesis\BLOCKC~1\BLOCKC~1\CERT-V~1\venv\Scripts\python.exe
Installing setuptools, pip, wheel…
done.
PS E:\Google Drive\Cao hoc\Thesis\Blockchain\blockcert\cert-verifier> ls

Directory: E:\Google Drive\Cao hoc\Thesis\Blockchain\blockcert\cert-verifier

Mode LastWriteTime Length Name


d----- 30/01/2019 16:31 cert_verifier
d----- 29/01/2019 15:30 tests
d----- 31/01/2019 08:57 venv
-a---- 29/01/2019 15:30 132 .gitignore
-a---- 29/01/2019 15:30 108 .travis.yml
-a---- 29/01/2019 15:30 67543 cert.json
-a---- 29/01/2019 15:30 1109 LICENSE
-a---- 29/01/2019 15:30 26 MANIFEST.in
-a---- 29/01/2019 15:30 1589 README.md
-a---- 29/01/2019 15:30 87 release_package.sh
-a---- 29/01/2019 15:30 241 requirements.txt
-a---- 29/01/2019 15:30 18 run_tests.sh
-a---- 29/01/2019 15:30 729 setup.py
-a---- 29/01/2019 15:30 436 tox.ini

PS E:\Google Drive\Cao hoc\Thesis\Blockchain\blockcert\cert-verifier> cd .\cert_verifier
PS E:\Google Drive\Cao hoc\Thesis\Blockchain\blockcert\cert-verifier\cert_verifier> ls

Directory: E:\Google Drive\Cao hoc\Thesis\Blockchain\blockcert\cert-verifier\cert_verifier

Mode LastWriteTime Length Name


-a---- 29/01/2019 15:30 12898 checks.py
-a---- 29/01/2019 15:30 10703 connectors.py
-a---- 29/01/2019 15:30 244 errors.py
-a---- 29/01/2019 15:30 2153 verifier.py
-a---- 29/01/2019 15:30 2722 init.py

PS E:\Google Drive\Cao hoc\Thesis\Blockchain\blockcert\cert-verifier\cert_verifier> python .\verifier.py
Traceback (most recent call last):
File “.\verifier.py”, line 16, in
from cert_verifier.checks import create_verification_steps
File “C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\site-packages\cert_verifier\checks.py”, line 9, in
from bitcoin.signmessage import BitcoinMessage, VerifyMessage
File “C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\site-packages\bitcoin\signmessage.py”, line 14, in
from bitcoin.core.key import CPubKey
File “C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\site-packages\bitcoin\core\key.py”, line 33, in
ssl = ctypes.cdll.LoadLibrary(ctypes.util.find_library(‘ssl’) or ‘libeay32’)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\ctypes_init
.py", line 434, in LoadLibrary
return self.dlltype(name)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\ctypes_init
.py", line 356, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
PS E:\Google Drive\Cao hoc\Thesis\Blockchain\blockcert\cert-verifier\cert_verifier>

Do you have any other idea?

Thanks aronning, I’ve found the way to solve this problem.
Problem is missing libeay32.dll --> I downloaded this library and put to System32 and the module worked.