[Stackless] How to 'uninstall' stackless from ubuntu 7.04

SR sr12zar at gmail.com
Tue Mar 18 07:46:47 CET 2008


Hi,

I made a cardinal mistake by not reading the 'README' before I installed
stackless python on ubuntu 7.04. Only after I installed python-visual, I
discovered that visual python went /usr/lib/ (the usual ubuntu user apps?)
and stackless went into /usr/local/lib/.
And my PATH is
'/usr/local/sbin:/usr/local/bin:/usr/lib/sbin:/usr/lib/bin:..." so stackless
gets called. I tested my stackless+visual python and 'from visual import *'
failed.

Not knowing enough about stackless, visual and ubuntu, I tried 'sudo make
clean' and 'sudo make distclean' to uninstall. Both went without any error
but stackless python2.5 objects still there in /usr/local/lib/. So I
re-installed stackless with --prefix=/usr and --exec-prefix=/usr, that went
without error. But my PATH (see above) stopped me from getting stackless in
/usr/lib/.

I tried  'sudo ln -s /usr/lib/python2.5/site-packages
/usr/local/lib/python2.5 /site-packages' (after removing files inside and
the dir). That gave me stackless+visual python. I tested by running a visual
program and that worked as expected.

Then I found that ubuntu's alacarte failed, sudoku game failed to start and
update manager was not obeying my clicks. I re-installed ubuntu's
python2.5.1 (into /usr/lib/) and alacarte worked, but sodoku still failed to
start. As for update manager I have yet to come up with some tests.

My questions (as a newbie in stackless+visual python and ubuntu):
How do I uninstall stackless from /usr/local/lib/ without fear of effecting
ubuntu?
(including removing /usr/local/... from my PATH)?

I used 'stackless+visual+python on ubutu 7.04' to find some info but found
nothing useful.  Can anyone suggest a better way to do stackless+visual
python?

Should I go with stackless+pygame to get daya visualization?

PS. I am trying to track actions of several mobile agents in a system of 2
systems. Already I have a (text-based ;-)) simulator (in stackless python).
I think by adding some icons and traces in vpython, I would a simple
tracking system. But, life would be boring without surprises!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.stackless.com/pipermail/stackless/attachments/20080318/84fe4081/attachment.htm 


More information about the Stackless mailing list