2017-07-14 10:16
@JFinal 抱歉之前是按记忆打的错误log导致手误,python是没输入错的,这是centos上打印得log:Cannot run program "python ": error=2, No such file or directory。环境变量打印出来如下:{TERM=linux, CONSOLETYPE=serial, SHLVL=3, previous=N, JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk/, LANGSH_SOURCED=1, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, PATH=/sbin:/usr/sbin:/bin:/usr/bin:/bin:/usr/lib/jvm/jre-1.7.0-openjdk/, UPSTART_JOB=rc, RUNLEVEL=3, Path=/root/Python-2.7.12/python:$PATH, PREVLEVEL=N, PWD=/, UPSTART_INSTANCE=, _=/usr/lib/jvm/jre-1.7.0-openjdk//bin/java, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, runlevel=3, LANG=C, UPSTART_EVENTS=runlevel}