Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18442 > unrolled thread

Unable to install xmldiff package on WIndows7

Started byhisan <santosh.ssit@gmail.com>
First post2012-01-03 11:47 -0800
Last post2012-03-02 18:45 -0800
Articles 6 — 5 participants

Back to article view | Back to comp.lang.python


Contents

  Unable to install xmldiff package on WIndows7 hisan <santosh.ssit@gmail.com> - 2012-01-03 11:47 -0800
    Re: Unable to install xmldiff package on WIndows7 hisan <santosh.ssit@gmail.com> - 2012-01-05 10:03 -0800
      Re: Unable to install xmldiff package on WIndows7 Rod Person <rodperson@rodperson.com> - 2012-01-05 13:10 -0500
      Re: Unable to install xmldiff package on WIndows7 John Gordon <gordon@panix.com> - 2012-01-05 19:34 +0000
        Re: Unable to install xmldiff package on WIndows7 MRAB <python@mrabarnett.plus.com> - 2012-01-05 20:11 +0000
    Re: Unable to install xmldiff package on WIndows7 gwang <wang93117@gmail.com> - 2012-03-02 18:45 -0800

#18442 — Unable to install xmldiff package on WIndows7

Fromhisan <santosh.ssit@gmail.com>
Date2012-01-03 11:47 -0800
SubjectUnable to install xmldiff package on WIndows7
Message-ID<b0668333-72b0-43c5-b8fb-200da9e106f1@h37g2000pri.googlegroups.com>
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

[toc] | [next] | [standalone]


#18553

Fromhisan <santosh.ssit@gmail.com>
Date2012-01-05 10:03 -0800
Message-ID<ede7debc-b122-42a0-bcc9-04797b4ac115@q7g2000yqn.googlegroups.com>
In reply to#18442
Can some one help me out here Its High Priority



On Jan 4, 12:47 am, hisan <santosh.s...@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

[toc] | [prev] | [next] | [standalone]


#18555

FromRod Person <rodperson@rodperson.com>
Date2012-01-05 13:10 -0500
Message-ID<mailman.4456.1325787463.27778.python-list@python.org>
In reply to#18553
On Thu, 5 Jan 2012 10:03:32 -0800 (PST)
hisan <santosh.ssit@gmail.com> wrote:

> Can some one help me out here Its High Priority
> 
> 
> 
> On Jan 4, 12:47 am, hisan <santosh.s...@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
> 

It trying to compile this extension using GNU gcc. You'd need that to
compile this one windows. Don't know if there is a windows version but
check http://gcc.gnu.org

-- 

Rod Person  http://www.rodperson.com  rodperson@rodperson.com

'Silence is a fence around wisdom'

[toc] | [prev] | [next] | [standalone]


#18559

FromJohn Gordon <gordon@panix.com>
Date2012-01-05 19:34 +0000
Message-ID<je4u0d$rl6$1@reader1.panix.com>
In reply to#18553
In <ede7debc-b122-42a0-bcc9-04797b4ac115@q7g2000yqn.googlegroups.com> hisan <santosh.ssit@gmail.com> writes:

> 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?

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

[toc] | [prev] | [next] | [standalone]


#18561

FromMRAB <python@mrabarnett.plus.com>
Date2012-01-05 20:11 +0000
Message-ID<mailman.4460.1325794282.27778.python-list@python.org>
In reply to#18559
On 05/01/2012 19:34, John Gordon wrote:
> In<ede7debc-b122-42a0-bcc9-04797b4ac115@q7g2000yqn.googlegroups.com>  hisan<santosh.ssit@gmail.com>  writes:
>
>>  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?
>
Alternatively, enclose it in quotes.

[toc] | [prev] | [next] | [standalone]


#21156

Fromgwang <wang93117@gmail.com>
Date2012-03-02 18:45 -0800
Message-ID<b1202b42-c6fd-4a3a-ab92-4c0f7c4289f2@kv10g2000pbc.googlegroups.com>
In reply to#18442
On Jan 3, 11:47 am, hisan <santosh.s...@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.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web