[Tutor] can't locate module library

reavey reavey@nep.net
Sun May 4 13:28:01 2003


hi

[dad@localhost dad]$ python
'import site' failed; use -v for traceback
Python 2.2.2 (#1, May  4 2003, 09:33:03)
[GCC 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>>

[dad@localhost dad]$ echo $PYTHONHOME
/usr/local/lib/python2.2
[dad@localhost dad]$[dad@localhost dad]$ /usr/local/bin/python
'import site' failed; use -v for traceback
Python 2.2.2 (#1, May  4 2003, 09:33:03)
[GCC 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import os
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named os

What do I need to do to get to the module libraries?

TIA
re-v