heatmap icon indicating copy to clipboard operation
heatmap copied to clipboard

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

Open caryroberts1 opened this issue 12 years ago • 0 comments

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.

caryroberts1 avatar Dec 15 '13 15:12 caryroberts1