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
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
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>
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.