Skip to content

python3 runserver.py & (OSError: [WinError 193] %1 is not a valid Win32 application) #20

@malcolmturnballs

Description

@malcolmturnballs

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
from NodeB.app.app import app
File "C:\Neo\trinity-master\src\NodeB\app\app.py", line 43, in
from .controller import *
File "C:\Neo\trinity-master\src\NodeB\app\controller.py", line 4, in
from NodeB import service
File "C:\Neo\trinity-master\src\NodeB\service.py", line 4, in
from NodeB.utils import createMultiSigAddress, ToScriptHash, int_to_hex, con
struct_opdata, privtkey_sign, hex_reverse,
File "C:\Neo\trinity-master\src\NodeB\utils.py", line 6, in
from neocore.KeyPair import KeyPair
File "C:\Python\Python36-32\lib\site-packages\neocore\KeyPair.py", line 4, in

import scrypt
File "C:\Python\Python36-32\lib\site-packages\scrypt.py", line 11, 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions