EniasCailliau / GirlfriendGPT

Girlfriend GPT is a Python project to build your own AI girlfriend using ChatGPT4.0
https://gptgirlfriend.online
2.58k stars 437 forks source link

ModuleNotFoundError: No module named 'agent.tools.video_message' #20

Closed Ruzik00 closed 1 year ago

Ruzik00 commented 1 year ago

Hello! I'm trying to run on windows 10, it appears when running locally and using telegramm image image

natea commented 1 year ago

I'm getting the same error message.

    from agent.tools.video_message import VideoMessageTool
ModuleNotFoundError: No module named 'agent.tools.video_message'

There were no errors when I ran pip install -r requirements.txt

YukioKrino commented 1 year ago

The error is in a module that is not in the assembly. Try opening the src\api.py file and edit the line "from agent.tools.video_message import VideoMessageTool" by adding # at the beginning of the line Then run the installation again

samuelrcarvalho commented 1 year ago

The error is in a module that is not in the assembly. Try opening the src\api.py file and edit the line "from agent.tools.video_message import VideoMessageTool" by adding # at the beginning of the line Then run the installation again

it works for deploy mode. Not running locally

natea commented 1 year ago

Thanks, but I had to also comment out line 114, when it tries to use that module:

src/api.py", line 114, in get_tools
    VideoMessageTool(self.client),
NameError: name 'VideoMessageTool' is not defined
YukioKrino commented 1 year ago

Until I know what else to do

samuelrcarvalho commented 1 year ago

The error is in a module that is not in the assembly. Try opening the src\api.py file and edit the line "from agent.tools.video_message import VideoMessageTool" by adding # at the beginning of the line Then run the installation again

it works for deploy mode. Not running locally

You can deploy, but when running, same error.

YukioKrino commented 1 year ago

then we wait for the author to fix it

samuelrcarvalho commented 1 year ago

workaround: Comment (including #) the line #114 in file src/api.py

la4zen commented 1 year ago

video_message class is not defined in the package. we are waiting for fix commit :)

alfredopaulo commented 1 year ago

Same error when trying to run locally. image

fniks commented 1 year ago
image
EniasCailliau commented 1 year ago

Fixed un most recent commit ✅