linux下使用升级后的稳定版python2.7时不能正常使用

Could 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
Python 2.6.6 (r265:79063, Oct 1 2012, 22:04:36) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.

公司环境总是呢么恶心,建立软连接后删了重建,反反复复不好使,重启服务后正常使用

原文地址:https://www.cnblogs.com/RENQIWEI1995/p/8192850.html