dreamhunter2333 / chatgpt-tarot-divination

AI 算命,占卜,塔罗牌,姓名五格,周公解梦,生辰八字,梅花易数
https://chatgpt-tarot-divination.aks.dreamhunter2333.com/
413 stars 111 forks source link

我用本地部署提示这些错误可能是什么原因呢? #41

Open jiburan999888 opened 1 year ago

jiburan999888 commented 1 year ago

root@iZt4naudvth5fc699pje2kZ:~/chatgpt-tarot-divination-main# ./venv/bin/python3 main.py Traceback (most recent call last): File "main.py", line 16, in from router.chatgpt_router import router as chatgpt_router File "/root/chatgpt-tarot-divination-main/router/chatgpt_router.py", line 17, in from .divination import DivinationFactory File "/root/chatgpt-tarot-divination-main/router/divination/init.py", line 1, in from . import base File "/root/chatgpt-tarot-divination-main/router/divination/base.py", line 16, in class DivinationFactory(metaclass=MetaDivination): File "/root/chatgpt-tarot-divination-main/router/divination/base.py", line 25, in DivinationFactory def build_prompt(self, divination_body: DivinationBody) -> tuple[str, str]: TypeError: 'type' object is not subscriptable

dreamhunter2333 commented 1 year ago

python 版本是多少呢,测试 python3.9 + 应该没问题