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

Only compatible with 32-bit python on 64 bit windows? #6

Open
Eric-Bo opened this issue May 25, 2021 · 1 comment
Open

Only compatible with 32-bit python on 64 bit windows? #6

Eric-Bo opened this issue May 25, 2021 · 1 comment

Comments

@Eric-Bo
Copy link

Eric-Bo commented May 25, 2021

Hello,

thanks for your work on this repo. Using this package in a project I came across an issue with 64/32 bit python. It works fine with the 32 bit python version on a 64 bit windows machine (tested on two such systems) but using the 64 bit python version gave this error when importing the package: OSError: [WinError 193] %1 is not a valid Win32 application. We are using the Mingw32 installation of the C compiler. I have no experience with linking C into python but I think the bug is probably on your end since the error comes up on import.

@justengel
Copy link

@Eric-Bo If you are running a 64bit version of Python then you would need to use 64bit compilers (Mingw-w64?). I created a Python C Extension for this library and published Windows compiled .whl files for 32 and 64 bit versions of Python 37-39. You should be able to just pip install wmm2020_cext.

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

2 participants