Centos7 x86_64 安装seafile服务器 提示错误

[root@Cen7-145 seafile-server-6.0.4]# ./setup-seafile-mysql.sh
Checking python on this machine …
Checking python module: setuptools …
setuptools is not installed, Please install it first.

On Debian/Ubntu: apt-get install python-setuptools
On CentOS/RHEL: yum install python-distribute

Error occured during setup.
Please fix possible problems and run the script again.

[root@Cen7-145 seafile-server-6.0.4]# yum install python-distribute
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile

  • base: centos.ustc.edu.cn
  • extras: centos.ustc.edu.cn
  • updates: ftp.sjtu.edu.cn
    软件包 python-setuptools-0.9.8-4.el7.noarch 已安装并且是最新版本
    无须任何处理
    [root@Cen7-145 seafile-server-6.0.4]# cat /etc/redhat-release
    CentOS Linux release 7.1.1503 (Core)
    [root@Cen7-145 seafile-server-6.0.4]# python -V
    Python 2.7.12

查看如图

谢谢反馈,我们这边测试下

你试试在命令行下运行这个命令看看会不会报错:

python -c "import pkg_resources"

会报错

python -c “import pkg_resources”

Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named pkg_resources

对于这个问题已经解决,解决方法:
wget https://bootstrap.pypa.io/ez_setup.py -O - | python
(来自:http://stackoverflow.com/questions/7446187/no-module-named-pkg-resources)
现在执行:python -c “import pkg_resources” 不会报错。

但是出现另一个问题

跟楼主碰到同样的问题了,怎么解决的呢

这篇帖子没下文了?字数补丁12345

我的6.8也一样。看有没人帮忙了