I was downloading .zip file not the exe installer file. It worked now. Thanks for the help. But would be still interested to download the code and experiment with it.<div><br><div><br></div><div><br></div><div><br></div><div>
./Aravind</div><div><br><br><div class="gmail_quote">On Mon, Apr 30, 2012 at 3:30 PM, <span dir="ltr"><<a href="mailto:python-win32-request@python.org" target="_blank">python-win32-request@python.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send python-win32 mailing list submissions to<br>
<a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://mail.python.org/mailman/listinfo/python-win32" target="_blank">http://mail.python.org/mailman/listinfo/python-win32</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:python-win32-request@python.org">python-win32-request@python.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:python-win32-owner@python.org">python-win32-owner@python.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of python-win32 digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Win32api install problem (Mark Lawrence)<br>
2. Re: Win32api install problem (Tim Golden)<br>
3. Re: Win32api install problem (Mark Hammond)<br>
4. Re: Win32api install problem (Tim Golden)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 30 Apr 2012 08:41:42 +0100<br>
From: Mark Lawrence <<a href="mailto:breamoreboy@yahoo.co.uk">breamoreboy@yahoo.co.uk</a>><br>
To: <a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
Subject: Re: [python-win32] Win32api install problem<br>
Message-ID: <jnlfnl$pf9$<a href="mailto:1@dough.gmane.org">1@dough.gmane.org</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
On 30/04/2012 08:03, Aravind Kamble wrote:<br>
> Hi All,<br>
><br>
> I am trying to install pywin32-217 for the first time on my Windows 7 64<br>
> bit machine. I have following installed on my machine,<br>
><br>
> Python 2.7.3<br>
<br>
> MS Windows SDK for Windows 7 (7.1)<br>
<br>
The SDK isn't usually needed.<br>
<br>
> Downloaded pywin32-217 from sourceforge<br>
<br>
Hopefully in this case either pywin32-217.win-amd64-py2.7.exe or<br>
pywin32-217.win32-py2.7.exe as appropriate :) See below.<br>
<br>
><br>
><br>
> When I run the setup.py as below<br>
> c:\pywin32-217\python setup.py install<br>
<br>
I've never needed to do this. Usually you would download the<br>
appropriate version of pywin32 as given above and It Just Works when you<br>
install, automatically finding your version of Python from the registry.<br>
<br>
><br>
> I am getting following error<br>
><br>
> Building pywin32 2.7.217.0<br>
> Traceback (most recent call last):<br>
> File "setup.py", line 2428, in<module><br>
> ] +<br>
> File "setup.py", line 2224, in convert_data_files<br>
> raise RuntimeError("No files match '%s'" % file)<br>
> RuntimeError: No files match 'pythonwin\pywin\*.cfg'<br>
><br>
> There are two .cfg files (default.cfg and IDLE.cfg) under pythonwin\pywin\.<br>
><br>
> Please help how to get rid of this error and continue with installation.<br>
<br>
If my comments above don't help sorry, you'll have to wait until the<br>
smarter Windows guys pick this one up, doesn't normally take too long :)<br>
<br>
><br>
><br>
> Regards<br>
> Aravind<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> python-win32 mailing list<br>
> <a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/python-win32" target="_blank">http://mail.python.org/mailman/listinfo/python-win32</a><br>
<br>
<br>
--<br>
Cheers.<br>
<br>
Mark Lawrence.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 30 Apr 2012 08:42:06 +0100<br>
From: Tim Golden <<a href="mailto:mail@timgolden.me.uk">mail@timgolden.me.uk</a>><br>
Cc: <a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
Subject: Re: [python-win32] Win32api install problem<br>
Message-ID: <<a href="mailto:4F9E424E.5020600@timgolden.me.uk">4F9E424E.5020600@timgolden.me.uk</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On 30/04/2012 08:03, Aravind Kamble wrote:<br>
> Hi All,<br>
><br>
> I am trying to install pywin32-217 for the first time on my Windows 7 64<br>
> bit machine. I have following installed on my machine,<br>
><br>
> Python 2.7.3<br>
> MS Windows SDK for Windows 7 (7.1)<br>
> Downloaded pywin32-217 from sourceforge<br>
><br>
><br>
> When I run the setup.py as below<br>
> c:\pywin32-217\python setup.py install<br>
><br>
> I am getting following error<br>
><br>
> Building pywin32 2.7.217.0<br>
> Traceback (most recent call last):<br>
> File "setup.py", line 2428, in <module><br>
> ] +<br>
> File "setup.py", line 2224, in convert_data_files<br>
> raise RuntimeError("No files match '%s'" % file)<br>
> RuntimeError: No files match 'pythonwin\pywin\*.cfg'<br>
><br>
> There are two .cfg files (default.cfg and IDLE.cfg) under pythonwin\pywin\.<br>
><br>
> Please help how to get rid of this error and continue with installation.<br>
<br>
Do you have / want to build from source? If not, download one<br>
of the binaries from Sourceforge and use that. If you do need<br>
to build from source, you'll have to patch the setup.py in<br>
the pywin32 sourceball to add a parameter anchor=0 to the calls<br>
to include_pattern and exclude_pattern within the convert_data_files<br>
function.<br>
<br>
(I was just about to get in touch with Mark H and offer a patch but<br>
I won't have time to do the mechanics until this afternoon at the<br>
earliest...)<br>
<br>
FWIW this is due to a recent-ish change to distutils which fixed a<br>
longstanding bugette. The effect was to tighten up the action of<br>
include|exclude_pattern calls so that they don't match against<br>
directory strings unless anchor is set to 0.<br>
<br>
Again, though, unless you *want* to build from source, you can just<br>
download a binary build.<br>
<br>
<br>
TJG<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 30 Apr 2012 17:50:52 +1000<br>
From: Mark Hammond <<a href="mailto:skippy.hammond@gmail.com">skippy.hammond@gmail.com</a>><br>
To: Tim Golden <<a href="mailto:mail@timgolden.me.uk">mail@timgolden.me.uk</a>><br>
Cc: <a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
Subject: Re: [python-win32] Win32api install problem<br>
Message-ID: <<a href="mailto:4F9E445C.1020307@gmail.com">4F9E445C.1020307@gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
On 30/04/2012 5:42 PM, Tim Golden wrote:<br>
> On 30/04/2012 08:03, Aravind Kamble wrote:<br>
>> Hi All,<br>
>><br>
>> I am trying to install pywin32-217 for the first time on my Windows 7 64<br>
>> bit machine. I have following installed on my machine,<br>
>><br>
>> Python 2.7.3<br>
>> MS Windows SDK for Windows 7 (7.1)<br>
>> Downloaded pywin32-217 from sourceforge<br>
>><br>
>><br>
>> When I run the setup.py as below<br>
>> c:\pywin32-217\python setup.py install<br>
>><br>
>> I am getting following error<br>
>><br>
>> Building pywin32 2.7.217.0<br>
>> Traceback (most recent call last):<br>
>> File "setup.py", line 2428, in <module><br>
>> ] +<br>
>> File "setup.py", line 2224, in convert_data_files<br>
>> raise RuntimeError("No files match '%s'" % file)<br>
>> RuntimeError: No files match 'pythonwin\pywin\*.cfg'<br>
>><br>
>> There are two .cfg files (default.cfg and IDLE.cfg) under pythonwin\pywin\.<br>
>><br>
>> Please help how to get rid of this error and continue with installation.<br>
><br>
> Do you have / want to build from source? If not, download one<br>
> of the binaries from Sourceforge and use that. If you do need<br>
> to build from source, you'll have to patch the setup.py in<br>
> the pywin32 sourceball to add a parameter anchor=0 to the calls<br>
> to include_pattern and exclude_pattern within the convert_data_files<br>
> function.<br>
><br>
> (I was just about to get in touch with Mark H and offer a patch but<br>
> I won't have time to do the mechanics until this afternoon at the<br>
> earliest...)<br>
<br>
Thanks for the clue - I just updated Python 2.7 from hg, verified the<br>
bug and also verified your fix seems to work. I've checked it in and<br>
pushed it.<br>
<br>
Thanks!<br>
<br>
Mark<br>
><br>
> FWIW this is due to a recent-ish change to distutils which fixed a<br>
> longstanding bugette. The effect was to tighten up the action of<br>
> include|exclude_pattern calls so that they don't match against<br>
> directory strings unless anchor is set to 0.<br>
><br>
> Again, though, unless you *want* to build from source, you can just<br>
> download a binary build.<br>
><br>
><br>
> TJG<br>
> _______________________________________________<br>
> python-win32 mailing list<br>
> <a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/python-win32" target="_blank">http://mail.python.org/mailman/listinfo/python-win32</a><br>
><br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 30 Apr 2012 08:56:22 +0100<br>
From: Tim Golden <<a href="mailto:mail@timgolden.me.uk">mail@timgolden.me.uk</a>><br>
To: <a href="mailto:mhammond@skippinet.com.au">mhammond@skippinet.com.au</a><br>
Cc: <a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
Subject: Re: [python-win32] Win32api install problem<br>
Message-ID: <<a href="mailto:4F9E45A6.2000906@timgolden.me.uk">4F9E45A6.2000906@timgolden.me.uk</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On 30/04/2012 08:50, Mark Hammond wrote:<br>
> On 30/04/2012 5:42 PM, Tim Golden wrote:<br>
>> (I was just about to get in touch with Mark H and offer a patch but<br>
>> I won't have time to do the mechanics until this afternoon at the<br>
>> earliest...)<br>
><br>
> Thanks for the clue - I just updated Python 2.7 from hg, verified the<br>
> bug and also verified your fix seems to work. I've checked it in and<br>
> pushed it.<br>
<br>
Thanks for the quick turnaround. FWIW there appear to be other issues<br>
against Python trunk due to the *very* recent importlib changes. Before<br>
I dive in: are you able to build & install against Python's hg tip?<br>
<br>
I was getting an importlib error when trying to import pywintypes.<br>
I'll try to get a build environment up here (at work) to make sure<br>
I can reproduce.<br>
<br>
<br>
TJG<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
python-win32 mailing list<br>
<a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-win32" target="_blank">http://mail.python.org/mailman/listinfo/python-win32</a><br>
<br>
<br>
End of python-win32 Digest, Vol 109, Issue 26<br>
*********************************************<br>
</blockquote></div><br></div></div>