Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: [WinError 193] %1 is not a valid Win32 application #4

Open
Andhs opened this issue May 20, 2021 · 2 comments
Open

OSError: [WinError 193] %1 is not a valid Win32 application #4

Andhs opened this issue May 20, 2021 · 2 comments

Comments

@Andhs
Copy link

Andhs commented May 20, 2021

Trying to run CharacTER.py I get the error:

...
ed_wrapper = ctypes.CDLL(os.path.dirname(os.path.abspath(file)) + '/libED.so')
File "D:\Port\WPy64-3830\python-3.8.3.amd64\Lib\ctypes_init_.py", line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application

Could it be related to the fact that I use 64-bit Python and libED.so was compiled for 32-bit? If so, maybe you provide a 64-bit libED.so version

@ElisaDiNuovo
Copy link

I get the same error... has someone fixed this issue?

@nicemanis
Copy link

The libED.so file is compiled for Linux. You should recompile it if you want to use it on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants