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

Fails to import pdcurses on windows 64 bit #2

Closed
fuzzything44 opened this issue Apr 21, 2017 · 2 comments
Closed

Fails to import pdcurses on windows 64 bit #2

fuzzything44 opened this issue Apr 21, 2017 · 2 comments

Comments

@fuzzything44
Copy link

fuzzything44 commented Apr 21, 2017

I'm guessing that the pdcurses dll in /unicurses/pdc34dll is somehow not compatible with 64 bit Python 3.6 or Windows 10.

I'm getting a failure to import it (OSError: [WinError 193] %1 is not a valid Win32 application) when attempting to create a ctypes CDLL object (line 71 of __init__.py of unicurses, line 348 of __init__.py of ctypes.)

@chtenb
Copy link
Member

chtenb commented Apr 24, 2017

I would guess that its a 32 bit dll, yeah. If you can get hold of 64 bit versions we could probably write some logic that loads the right dll based on whether we are a 64 or 32 bit process.

@fuzzything44
Copy link
Author

Yeah, after more testing I've concluded that it's the 32 bit dll as it works with 32 bit Python 3.4.

@chtenb chtenb changed the title Fails to import pdcurses on windows 10 Fails to import pdcurses on windows 64 bit May 2, 2017
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