 python -v bin/tahoe --version-and-path
bash: python: command not found
[kiba@localhost tahoe-lafs]$ python2 -v bin/tahoe --version-and-path
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/lib/python2.7/site.pyc has bad mtime
import site # from /usr/lib/python2.7/site.py
# can't create /usr/lib/python2.7/site.pyc
# /usr/lib/python2.7/os.pyc has bad mtime
import os # from /usr/lib/python2.7/os.py
# can't create /usr/lib/python2.7/os.pyc
import errno # builtin
import posix # builtin
# /usr/lib/python2.7/posixpath.pyc has bad mtime
import posixpath # from /usr/lib/python2.7/posixpath.py
# can't create /usr/lib/python2.7/posixpath.pyc
# /usr/lib/python2.7/stat.pyc has bad mtime
import stat # from /usr/lib/python2.7/stat.py
# can't create /usr/lib/python2.7/stat.pyc
# /usr/lib/python2.7/genericpath.pyc has bad mtime
import genericpath # from /usr/lib/python2.7/genericpath.py
# can't create /usr/lib/python2.7/genericpath.pyc
# /usr/lib/python2.7/warnings.pyc has bad mtime
import warnings # from /usr/lib/python2.7/warnings.py
# can't create /usr/lib/python2.7/warnings.pyc
# /usr/lib/python2.7/linecache.pyc has bad mtime
import linecache # from /usr/lib/python2.7/linecache.py
# can't create /usr/lib/python2.7/linecache.pyc
# /usr/lib/python2.7/types.pyc has bad mtime
import types # from /usr/lib/python2.7/types.py
# can't create /usr/lib/python2.7/types.pyc
# /usr/lib/python2.7/UserDict.pyc has bad mtime
import UserDict # from /usr/lib/python2.7/UserDict.py
# can't create /usr/lib/python2.7/UserDict.pyc
# /usr/lib/python2.7/_abcoll.pyc has bad mtime
import _abcoll # from /usr/lib/python2.7/_abcoll.py
# can't create /usr/lib/python2.7/_abcoll.pyc
# /usr/lib/python2.7/abc.pyc has bad mtime
import abc # from /usr/lib/python2.7/abc.py
# can't create /usr/lib/python2.7/abc.pyc
# /usr/lib/python2.7/_weakrefset.pyc has bad mtime
import _weakrefset # from /usr/lib/python2.7/_weakrefset.py
# can't create /usr/lib/python2.7/_weakrefset.pyc
import _weakref # builtin
# /usr/lib/python2.7/copy_reg.pyc has bad mtime
import copy_reg # from /usr/lib/python2.7/copy_reg.py
# can't create /usr/lib/python2.7/copy_reg.pyc
# /usr/lib/python2.7/sysconfig.pyc has bad mtime
import sysconfig # from /usr/lib/python2.7/sysconfig.py
# can't create /usr/lib/python2.7/sysconfig.pyc
# /usr/lib/python2.7/re.pyc has bad mtime
import re # from /usr/lib/python2.7/re.py
# can't create /usr/lib/python2.7/re.pyc
# /usr/lib/python2.7/sre_compile.pyc has bad mtime
import sre_compile # from /usr/lib/python2.7/sre_compile.py
# can't create /usr/lib/python2.7/sre_compile.pyc
import _sre # builtin
# /usr/lib/python2.7/sre_parse.pyc has bad mtime
import sre_parse # from /usr/lib/python2.7/sre_parse.py
# can't create /usr/lib/python2.7/sre_parse.pyc
# /usr/lib/python2.7/sre_constants.pyc has bad mtime
import sre_constants # from /usr/lib/python2.7/sre_constants.py
# can't create /usr/lib/python2.7/sre_constants.pyc
import encodings # directory /usr/lib/python2.7/encodings
# /usr/lib/python2.7/encodings/__init__.pyc has bad mtime
import encodings # from /usr/lib/python2.7/encodings/__init__.py
# can't create /usr/lib/python2.7/encodings/__init__.pyc
# /usr/lib/python2.7/codecs.pyc has bad mtime
import codecs # from /usr/lib/python2.7/codecs.py
# can't create /usr/lib/python2.7/codecs.pyc
import _codecs # builtin
# /usr/lib/python2.7/encodings/aliases.pyc has bad mtime
import encodings.aliases # from /usr/lib/python2.7/encodings/aliases.py
# can't create /usr/lib/python2.7/encodings/aliases.pyc
# /usr/lib/python2.7/encodings/utf_8.pyc has bad mtime
import encodings.utf_8 # from /usr/lib/python2.7/encodings/utf_8.py
# can't create /usr/lib/python2.7/encodings/utf_8.pyc
Python 2.7.1 (r271:86832, Dec  2 2010, 03:10:07) 
[GCC 4.5.1 20101125 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
# /usr/lib/python2.7/subprocess.pyc has bad mtime
import subprocess # from /usr/lib/python2.7/subprocess.py
# can't create /usr/lib/python2.7/subprocess.pyc
# /usr/lib/python2.7/traceback.pyc has bad mtime
import traceback # from /usr/lib/python2.7/traceback.py
# can't create /usr/lib/python2.7/traceback.pyc
import gc # builtin
dlopen("/usr/lib/python2.7/lib-dynload/time.so", 2);
import time # dynamically loaded from /usr/lib/python2.7/lib-dynload/time.so
dlopen("/usr/lib/python2.7/lib-dynload/select.so", 2);
import select # dynamically loaded from /usr/lib/python2.7/lib-dynload/select.so
dlopen("/usr/lib/python2.7/lib-dynload/fcntl.so", 2);
import fcntl # dynamically loaded from /usr/lib/python2.7/lib-dynload/fcntl.so
# /usr/lib/python2.7/pickle.pyc has bad mtime
import pickle # from /usr/lib/python2.7/pickle.py
# can't create /usr/lib/python2.7/pickle.pyc
import marshal # builtin
# /usr/lib/python2.7/struct.pyc has bad mtime
import struct # from /usr/lib/python2.7/struct.py
# can't create /usr/lib/python2.7/struct.pyc
dlopen("/usr/lib/python2.7/lib-dynload/_struct.so", 2);
import _struct # dynamically loaded from /usr/lib/python2.7/lib-dynload/_struct.so
dlopen("/usr/lib/python2.7/lib-dynload/binascii.so", 2);
import binascii # dynamically loaded from /usr/lib/python2.7/lib-dynload/binascii.so
dlopen("/usr/lib/python2.7/lib-dynload/cStringIO.so", 2);
import cStringIO # dynamically loaded from /usr/lib/python2.7/lib-dynload/cStringIO.so
# clear __builtin__._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.exitfunc
# clear sys.exc_type
# clear sys.exc_value
# clear sys.exc_traceback
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# clear sys.path_hooks
# clear sys.path_importer_cache
# clear sys.meta_path
# clear sys.flags
# clear sys.float_info
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup __main__
# cleanup[1] cStringIO
# cleanup[1] encodings
# cleanup[1] site
# cleanup[1] subprocess
# cleanup[1] sysconfig
# cleanup[1] gc
# cleanup[1] select
# cleanup[1] abc
# cleanup[1] _weakrefset
# cleanup[1] sre_constants
# cleanup[1] _codecs
# cleanup[1] _struct
# cleanup[1] _warnings
# cleanup[1] fcntl
# cleanup[1] zipimport
# cleanup[1] encodings.utf_8
# cleanup[1] codecs
# cleanup[1] pickle
# cleanup[1] signal
# cleanup[1] traceback
# cleanup[1] marshal
# cleanup[1] posix
# cleanup[1] encodings.aliases
# cleanup[1] exceptions
# cleanup[1] _weakref
# cleanup[1] binascii
# cleanup[1] re
# cleanup[1] struct
# cleanup[1] sre_compile
# cleanup[1] _sre
# cleanup[1] sre_parse
# cleanup[2] copy_reg
# cleanup[2] posixpath
# cleanup[2] errno
# cleanup[2] _abcoll
# cleanup[2] types
# cleanup[2] genericpath
# cleanup[2] stat
# cleanup[2] warnings
# cleanup[2] UserDict
# cleanup[2] os.path
# cleanup[2] linecache
# cleanup[2] time
# cleanup[2] os
# cleanup sys
# cleanup __builtin__
# cleanup ints: 24 unfreed ints
# cleanup floats
