Skip to content

Install on Windows, Scrypt issue

  • for the first use of silkaj, I have installed silkaj with pip3 install silkaj in a WinPython3.6.7;

  • pip3 installed silkaj0.6.0 and there is no upgrade available with pip3 install silkaj upgrade;

  • after the installation, there is no silkaj.bat neither silkaj.exe found;

  • then, I made a silkaj.bat with following content (same that numba.bat existing in the same Script folder):

@echo off
..\python "%~dpn0" %*
  • then I runned silkaj info command but it fails with an "unfound module" error:
C:\WPy-3670\python-3.6.7.amd64\Scripts>silkaj info

Traceback (most recent call last):

File "C:\WPy-3670\python-3.6.7.amd64\Scripts\silkaj", line 7, in <module>

from silkaj.cli_tools import manage_cmd

File "C:\WPy-3670\python-3.6.7.amd64\lib\site-packages\silkaj\cli_tools.py", line 5, in <module>
from silkaj.tx import send_transaction

File "C:\WPy-3670\python-3.6.7.amd64\lib\site-packages\silkaj\tx.py", line 14, in <module>
from silkaj.auth import auth_method

File "C:\WPy-3670\python-3.6.7.amd64\lib\site-packages\silkaj\auth.py", line 5, in <module>
from scrypt import hash

File "C:\WPy-3670\python-3.6.7.amd64\lib\site-packages\scrypt\__init__.py", line 1, in <module>
from .scrypt import *

File "C:\WPy-3670\python-3.6.7.amd64\lib\site-packages\scrypt\scrypt.py", line 15, in <module>
_scrypt = cdll.LoadLibrary(imp.find_module('_scrypt')[1])

File "C:\WPy-3670\python-3.6.7.amd64\lib\ctypes\__init__.py", line 426, in LoadLibrary
return self._dlltype(name)

File "C:\WPy-3670\python-3.6.7.amd64\lib\ctypes\__init__.py", line 348, in init
self._handle = _dlopen(self._name, mode)

OSError: [WinError 126] Le module spécifié est introuvable


C:\WPy-3670\python-3.6.7.amd64\Scripts>

=> Any idea how to fix it?

Edited by Moul
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information