明明把python的路径加入了Path啊,怎么还是找不到哦啊

如图:可以看到,明明是加入了的。怎么还是这样的提醒呢?

不过,原来我家服务器是win2003,我下载的python版本是按seafile6.0+相应的python
后来,网络找了一个 seafile5.0+的版本。

会是pythone版本对应不上吗?

或者,还有其他的原因?

非常谢谢。

补充一个图

你打开个cmd 试试python命令能行么?

版本应该是要的2.7吧

是不是PATH需要大写,或者加入到administrator变量中

后面不要加分号。亲测

[root@059769e0fd96 seafile-server-6.2.1]# python
Python 2.7.5 (default, Aug 4 2017, 00:39:18)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.

[root@059769e0fd96 seafile-server-6.2.1]# ./setup-seafile-mysql.sh
Checking python on this machine …

Can’t find a python executable of version 2.7 or above in PATH
Install python 2.7+ before continue.
Or if you installed it in a non-standard PATH, set the PYTHON enviroment varirable to it
我这个是怎么回事呢?

直接python setup-seafile-mysql.py

到最后却报错

Generating ccnet configuration …

/opt/data/seafile/seafile-server-6.2.1/seafile/bin/ccnet-init: error while loading shared libraries: /opt/data/seafile/seafile-server-6.2.1/seafile/lib/libsearpc.so.1: file too short

Error: Failed to generate ccnet configuration