Unable to install xmldiff package on WIndows7

gwang wang93117 at gmail.com
Fri Mar 2 21:45:32 EST 2012


On Jan 3, 11:47 am, hisan <santosh.s... at gmail.com> wrote:
> Hi All
>
> i have downloaded "xmldiff-0.6.10" from their official site (http://www.logilab.org/859).
> I have tried installing the same on my 32 bit Windows 7 OS using the
> command "setup.py install" but below exceptions are thrown in the
> console.
> please help me out in installing this package on Windows
>
> Exceptions thrown while installing
>
> C:\Users\santosh\Downloads\xmldiff-0.6.10>setup.py build
> running build
> running build_py
> package init file '.\test\__init__.py' not found (or not a regular
> file)
> package init file '.\test\__init__.py' not found (or not a regular
> file)
> running build_ext
> building 'xmldiff.maplookup' extension
> gcc -mno-cygwin -mdll -O -Wall -ID:\Python26\include -ID:\Python26\PC -
> c extensions/maplookup.c -o b
> uild\temp.win32-2.6\Release\extensions\maplookup.o
> error: command 'gcc' failed: No such file or directory

edit maplookup.c and comment away the line : #include <inttypes.h>.
At least that's what worked for me.




More information about the Python-list mailing list