[python-win32] compiling IP2Location extention on win32

Tim Roberts timr at probo.com
Wed Dec 2 20:02:37 CET 2009


tyju tiui wrote:
> I am trying to compile the python C extension from IP2Location: http://www.ip2location.com/python.aspx
> I'm not sure what I am doing wrong but the full error message is here: http://jckdnk111.pastebin.com/f71e8ff3d
>
> I am on Windows 7 32-bit with python 2.6.3 installed from the python.org windows installer.
> I have MS Visual Studio 2008.
>
> Any help or advice would be greatly appreciated.
>   

I can't tell from their web site whether they've ever built this on
Windows or not.  They have a confusion over whether they're going to use
the static C runtime library or the dynamic C runtime library.  You can
try doing this before you do the build:
    set LINK=/nod:msvcrt.lib
but I suspect you're going to need to contact the IP2Location people to
see if they support Python 2.6 on Windows.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list