Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'gpt_do.vendor' #1

Closed
xgarrido opened this issue Dec 25, 2022 · 3 comments
Closed

ModuleNotFoundError: No module named 'gpt_do.vendor' #1

xgarrido opened this issue Dec 25, 2022 · 3 comments

Comments

@xgarrido
Copy link

I have installed gpt-do with pipx and when using --model=chatgpt the scripts raises an error

$ ddo echo hello to file hello.txt --model=chatgpt                                                                                    
Traceback (most recent call last):
  File "/home/tester/.local/bin/ddo", line 8, in <module>
    sys.exit(do())
  File "/home/tester/.local/pipx/venvs/gpt-do/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/tester/.local/pipx/venvs/gpt-do/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/tester/.local/pipx/venvs/gpt-do/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/tester/.local/pipx/venvs/gpt-do/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/tester/.local/pipx/venvs/gpt-do/lib/python3.10/site-packages/gpt_do/cli.py", line 37, in do
    do = get_doer(model)(debug=debug)
  File "/home/tester/.local/pipx/venvs/gpt-do/lib/python3.10/site-packages/gpt_do/cli.py", line 6, in get_doer
    from gpt_do.doers.pywright_doer import PywrightDoer
  File "/home/tester/.local/pipx/venvs/gpt-do/lib/python3.10/site-packages/gpt_do/doers/pywright_doer.py", line 2, in <module>
    from gpt_do.vendor.chatgpt_wrapper.chatgpt_wrapper import ChatGPT
ModuleNotFoundError: No module named 'gpt_do.vendor'

The vendor directory is actually missing (I guess the git submodule is not populated by pipx)

@yasyf
Copy link
Owner

yasyf commented Dec 25, 2022

oops! Looking into this

@yasyf yasyf closed this as completed in 722a098 Dec 25, 2022
@yasyf
Copy link
Owner

yasyf commented Dec 25, 2022

@xgarrido should be fixed in 0.1.15!

@yasyf
Copy link
Owner

yasyf commented Dec 25, 2022

But note that you are likely to run into llm-workflow-engine/llm-workflow-engine#35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants