python3 runserver.py & (OSError: [WinError 193] %1 is not a valid Win32 application)
Hi all,
Trying to run a node on the TestNet using Windows and came across this error with runserver.py.
Has anyone encountered this issue and know of a way around it? Some googling suggested it might be related to python 32bit being incompatible with something that's 64bit or visa-versa.
Any help will be appreciated!
c:\Neo\trinity-master\src\NodeB>python runserver.py &
Traceback (most recent call last):
File "runserver.py", line 1, in
File "C:\Neo\trinity-master\src\NodeB\utils.py", line 6, in
_scrypt = cdll.LoadLibrary(imp.find_module('_scrypt')[1])
File "C:\Python\Python36-32\lib\ctypes_init_.py", line 426, in LoadLibrary return self.dlltype(name) File "C:\Python\Python36-32\lib\ctypes_init.py", line 348, in init self._handle = _dlopen(self._name, mode) OSError: [WinError 193] %1 is not a valid Win32 application
Maybe you can try install the win32.whl , more information https://pypi.python.org/pypi/scrypt/
Thanks, pigxo.
I installed the .whl file and still received the same error.
File "C:\Neo\trinity-master\src\NodeB\app\app.py", line 43, in from .controller import *
if i exclude this line from app.py, it works, but i suspect it'll stuff something else up down the line.