Skip to content

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

@caryroberts1

Description

@caryroberts1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions