问题情况如图所示:

解决方法:
python
su - oracle
echo "NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;export NLS_LANG" >> ~/.bash_profile
source ~/.bash_profile
ofile