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

WindowsError: [Error 193] %1 is not a valid Win32 application #16

Open
caryroberts1 opened this issue Dec 15, 2013 · 0 comments
Open

WindowsError: [Error 193] %1 is not a valid Win32 application #16

caryroberts1 opened this issue Dec 15, 2013 · 0 comments

Comments

@caryroberts1
Copy link

Hello.

This library seems to be exactly what I am looking for. However I have come across a few problems getting started. Initially I couldn't get pip install to work so I downloaded the zip file and ran the setup.py file (I am running on windows 7 64 bit). However, I received an error that it couldn't find the .dll. I copy and pasted both the x86 and x64 dll into the site-packages folder. This got me past the first error, however now I get another error "WindowsError: [Error 193] %1 is not a valid Win32 application".

I initially thought this was because it was trying to read in the x86 dll, and I noticed in the heatmap.py file:

        if "windows" in platform.system().lower():
            libname = "cHeatmap-x86.dll"
            if "64" in platform.architecture()[0]:
                libname = "cHeatmap-x64.dll"

I thought perhaps it was trying to open the x86 .dll, so I modified the code to only assign libname to the x64, however I get the same issue when reloading the module. I've tried it both ways.

Im using IPython Notebook as well, if that matters.

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

1 participant