When I am executing any command which has "import os " is showing below error :
No module named os
For example :
$ sudo -iCould not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/opt/tss/bin/scbtools.py", line 30, in <module>
import sys, os, re
ImportError: No module named os`