启动seahub.sh提示ImportError: No module named Image


#1

环境:
Centos6.5安装Seafile6.3.4(社区版)
部署过程:
按照度娘装了python2.7,及其他依赖包,seafile安装正常,最后启动seahub出错

./seahub.sh start-fastcgi具体报错:
LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub (fastcgi) at 127.0.0.1:8000 …
Traceback (most recent call last):
File “/home/abcd/install_bao/seafile-server-6.3.4/seahub/manage.py”, line 10, in
execute_from_command_line(sys.argv)
File “/home/abcd/install_bao/seafile-server-6.3.4/seahub/thirdpart/django/core/management/init.py”, line 364, in execute_from_command_line
utility.execute()
File “/home/abcd/install_bao/seafile-server-6.3.4/seahub/thirdpart/django/core/management/init.py”, line 338, in execute
django.setup()
File “/home/abcd/install_bao/seafile-server-6.3.4/seahub/thirdpart/django/init.py”, line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File “/home/abcd/install_bao/seafile-server-6.3.4/seahub/thirdpart/django/apps/registry.py”, line 108, in populate
app_config.import_models()
File “/home/abcd/install_bao/seafile-server-6.3.4/seahub/thirdpart/django/apps/config.py”, line 202, in import_models
self.models_module = import_module(models_module_name)
File “/usr/local/lib/python2.7/importlib/init.py”, line 37, in import_module
import(name)
File “/home/abcd/install_bao/seafile-server-6.3.4/seahub/seahub/avatar/models.py”, line 26, in
import Image
ImportError: No module named Image
Error:Seahub failed to start.


#2

python-imaging 有装吗


#3

装过,yum提示:
Package python-imaging-1.1.6-19.el6.x86_64 already installed and latest version


#4

你是必须用 fast-cgi 吗


#5

不是,不用报错ImportError: No module named Image