[Stackless] problem Installing stackless

Richard Tew richard.m.tew at gmail.com
Wed Nov 21 13:47:39 CET 2007


On Nov 21, 2007 12:05 PM, Luciano Quadraccia
<luciano.quadraccia at gmail.com> wrote:
> stackless? Anyway I removed them, but did not help.  Do I have to remove
> python-2.5.1 itself?

Yes (paragraph 2).  You do not need Python 2.5.1 itself installed
(paragraph 2).  But you have another option (paragraph 3).

If you look into how the Python installers work, you will notice the
'python25.dll' file is placed in your 'WINDOWS\system32' directory.
This means that even if you could install multiple variants of the
same version of Python, only the last installed variant would really
work correctly (the others would use the latest installed version of
the dll).  This is what the installer check prevents happening.

But Stackless is normal Python with extra optional functionality.  If
you do not use the optional functionality which comprises the
Stackless features, a Stackless installation will work exactly as a
normal Python installation does.

The installer for Stackless is something new.  The other method of
distribution for Stackless is to just lump the changed files over and
above a normal Python installation, then have a user install Python
2.5.1 and extract the Stackless files over top of it.  This
effectively converts the 2.5.1 installation to a Stackless 2.5.1 one.
But what this does is put the Stackless version of the dll in the same
directory as the 'python.exe', this location is searched first before
the 'system32' directory.  So you can convert your Python installation
back and forwards between Stackless and normal by renaming the dll in
the 'Python25' directory (changing where the installation ends up
finding a 'python25.dll' file and which one it finds).  You can read
more about this on the Stackless downloads page under "Python 2.5.1 -
Binary Snapshot".

Cheers,
Richard.




More information about the Stackless mailing list