Unable to install xmldiff package on WIndows7

H

hisan

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
 
J

John Gordon

In said:
Can some one help me out here Its High Priority

GCC is failing with a "No such file or directory" error.

I assume this means either that gcc is not installed on your computer,
or that it couldn't find one of the files you passed on the command line.

The first case seems less likely, as I would expect a "Command not found"
error instead of "No such file or directory".

The second case seems more likely, especially since one of the directories
GCC is trying to use contains embedded spaces in the name:

-ID:\Python26\PC - c extensions/maplookup.c

Can you rename that directory to something that does not contain spaces
and try it again?
 
M

MRAB

GCC is failing with a "No such file or directory" error.

I assume this means either that gcc is not installed on your computer,
or that it couldn't find one of the files you passed on the command line.

The first case seems less likely, as I would expect a "Command not found"
error instead of "No such file or directory".

The second case seems more likely, especially since one of the directories
GCC is trying to use contains embedded spaces in the name:

-ID:\Python26\PC - c extensions/maplookup.c

Can you rename that directory to something that does not contain spaces
and try it again?
Alternatively, enclose it in quotes.
 
G

gwang

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top