在ubuntu22.04環境下安裝seafile,啓動seahub時報以下錯誤,各位大神有解答的嗎?

已經嘗試了多次了,按照官網方式安裝,無論是11.0.5或是11.0.6都是報一樣的錯誤。./seahub.sh start 時就報Error:Seahub failed to start.
查看seahub.log 就是下面的錯誤。
[ERROR] root:64 Failed to import seafevents package.
Traceback (most recent call last):
File “/opt/seafile/seafile-server-11.0.5/seahub/seahub/utils/init.py”, line 62, in
from seafevents import seafevents_api
File “/opt/seafile/seafile-server-11.0.5/pro/python/seafevents/seafevents_api.py”, line 1, in
from .db import init_db_session_class
File “/opt/seafile/seafile-server-11.0.5/pro/python/seafevents/db.py”, line 8, in
from sqlalchemy.orm import mapped_column
ImportError: cannot import name ‘mapped_column’ from ‘sqlalchemy.orm’ (/usr/local/lib/python3.10/dist-packages/sqlalchemy/orm/init.py)

一般是环境依赖的问题。

建议按照官方文档采用 Docker 方式部署,这可以解决大部分的环境依赖问题导致的问题。