I DID have to move my previous install of python out of the path.
note to others:
If you get...
[root@kindle python]# ./test.py
Traceback (most recent call last):
File "./test.py", line 5, in <module>
ImportError: No module named pygtk
(you probably already have a python install.)
[root@kindle python]# strace -fF -o /mnt/us/pyGTKstrace.txt ./test.py
revealed my other ones location.
5451 getuid32() = 0
5451 execve("/mnt/us/usr/bin/python", ["python", "./test.py"], [/* 25 vars */]) = 0
5451 brk(0) = 0x11000
A quick mv
to another name or unpathed folder will fix that up.
Thanks for the funky toy
I also amended the pythonenv
to be a bit more forgiving since we are sourcing it to the main shell.
(with whitespace for clarity, obviously make it valid)
(if it had pre-pended the $path initially it would have overridden my less local python)