TheExplainthis / ChatGPT-Line-Bot

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

run之後顯示錯誤訊息 #35

Open Lin19941001 opened 1 year ago

Lin19941001 commented 1 year ago

按run之後出現 Traceback (most recent call last): File "main.py", line 1, in from dotenv import load_dotenv ModuleNotFoundError: No module named 'dotenv' 

該怎麼解決

toplin0118 commented 1 year ago

我也是遇到這個錯誤

Lin19941001 commented 1 year ago

我也是遇到這個錯誤

已經解決了,直接問chatgtp就有教學了哈哈

owen198 commented 1 year ago

有requirements.txt, 我將相關套件安裝完成後就解決了

pip install -r requirements.txt