TheExplainthis / ChatGPT-Line-Bot

This is a repository that allows you to integrate ChatGPT into Line.
MIT License
1.58k stars 1.92k forks source link

專案執行問題 #53

Open rina841237 opened 11 months ago

rina841237 commented 11 months ago

按下Run後出現以下訊息 Traceback (most recent call last): File "/home/runner/ChatGPT-Line-Bot/main.py", line 19, in from src.utils import get_role_and_content File "/home/runner/ChatGPT-Line-Bot/src/utils.py", line 1, in import opencc ModuleNotFoundError: No module named 'opencc'

沒有進行到Hello World那一步 請問哪個地方出錯了 謝謝

Phoenix-party commented 11 months ago

上面說你沒有安裝opencc的模組 可能要重新執行一下docker

mulderyu commented 11 months ago

右下角「shell」那邊,直接打 pip install opencc-python-reimplemented 就可以安裝了,後棉還有很多套件照這方式一個一個安裝就能跑了