--
anatoly t.


On Tue, Nov 1, 2011 at 11:02 PM, Ralf Schmitt <ralf@systemexit.de> wrote:
"Ibon Net" <netibon@justemail.net> writes:

> Hi,
>
> trying to get lxml for my Python-on-Windows7, I ended up installing the
> setuptools. But when running it, the installer complains (after the
> first "Next" button)
>
> "Python version 2.7 required, which was not found in the registry".
>
> Pressing "Ok" presents a table headed by
>
> "Python 2.7 is required for this package. Select installation to use:"
>
> but the table is empty, and the two fields below for python and
> installation directories are read-only.
>
> Of course, I do have python installed - running "Python" will give my a
> console window running the interpreter which states
>
> "Python 2.7.2 (default, Jun 12 2011, 14:24:26) [MSC v.1500 64 bit
> (AMD64)] on win32"

looks like you're trying to install a 32 bit installer for a 64 bit
python.

>
> There are entries for .py files etc in the registry - but obviously not
> the ones the tool is looking for...
>
> What can I do? What more do you need to know?
>

Download the source distribution and install that.

Wait. Why not to fix this in distutils itself?
http://code.google.com/p/pythonxy/source/detail?r=ddeb3982593a0569bcc0fc392b56cbf65962491d&repo=xy-27
 
-- 
anatoly t.