1.編輯root .profile
/private/var/root/.profile
2.add following line in .profile
-使用export command 在使用登入時設定python path變數
-在pythonpath把原本的python path (${PYTHONPATH} 帶入
-每個pathonpath使用:分隔
# Python path for WFBS-SVC library
export PYTHONPATH="${PYTHONPATH}:/opt/trendmicro/lib/python2.6/site-packages/:/volumes/MacintoshHD/Source/lib:/volumes/MacintoshHD/Source/res/lib"
# Python path
export PYTHONPATH="/opt/trendmicro/lib/python2.6/site-packages/:/volumes/MacintoshHD/Source/auto/wfbs-svc/lib:/volumes/MacintoshHD/Source/auto/wfbs-svc/res/lib"
沒有留言:
張貼留言