netease-youdao / QAnything

Question and Answer based on Anything.
https://qanything.ai
GNU Affero General Public License v3.0
11.98k stars 1.17k forks source link

[BUG] <title>启动后端服务超时:cannot import name 'TypeAlias' from 'typing_extensions' #140

Open Wizarzz opened 9 months ago

Wizarzz commented 9 months ago

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

当前行为 | Current Behavior

qanything-container-local | 启动后端服务超时,请检查日志文件 /workspace/qanything_local/logs/debug_logs/sanic_api.log 获取更多信息。 qanything-container-local exited with code 0

期望行为 | Expected Behavior

正常启动后端服务

运行环境 | Environment

- OS:
- NVIDIA Driver:
- CUDA:
- Docker Compose:
- NVIDIA GPU Memory:

QAnything日志 | QAnything logs

ImportError: cannot import name 'TypeAlias' from 'typing_extensions' (/usr/local/lib/python3.10/dist-packages/typing_extensions.py)

复现方法 | Steps To Reproduce

每次启动

备注 | Anything else?

No response

luhai commented 8 months ago

请问解决了吗,我也遇到同样的问题

771832676 commented 6 months ago

同样遇到此问题