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

Issues with running open-interpreter using Anthropic models on Windows and Ubuntu #1196

Open
Cpuerpxm opened this issue Apr 11, 2024 · 2 comments

Comments

@Cpuerpxm
Copy link

Describe the bug

I encountered several issues while trying to run open-interpreter with Anthropic's Claude models on both Windows and Ubuntu environments.

Reproduce

On Windows:

  1. After deploying open-interpreter and running the command interpreter --model openrouter/anthropic/claude-3-haiku -y --context_window 200000 --max_tokens 8196 --max_output 8196, the process seems to complete, but it ends with the error: "Bad address (C:\projects\libzmq\src\epoll.cpp:100)".
  2. The expected output file is not generated on my computer.
    The issue persists even when using an Anaconda virtual environment.
  3. I tried resolving the issue by downgrading the Pyzmq version based on suggestions from CSDN:
  4. Installing an older version (19.0.2) using a whl file resulted in a "module zmq not found" error when running the command again.
    Downgrading using pip install resulted in the error "ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects".
    On Ubuntu:
  5. After installing open-interpreter on Ubuntu and setting the environment variables using the export command, I ran the command interpreter --model openrouter/anthropic/claude-3-haiku -y --context_window 200000 --max_tokens 8196 --max_output 8196.
  6. The command resulted in the following error:
    usage: interpreter [-h] [-y] [-f] [-l] [-d] [--use-azure]
    interpreter: error: unrecognized arguments: --model openrouter/anthropic/claude-3-haiku --context_window 200000 --max_tokens 8196 --max_output 8196

Expected behavior

I expected the open-interpreter to run successfully with the specified Anthropic model on both Windows and Ubuntu, generating the desired output file. However, I encountered errors on both platforms, and the expected output was not produced.

Screenshots

PixPin_2024-04-11_15-15-49 PixPin_2024-04-11_15-14-48 PixPin_2024-04-11_15-14-18

Open Interpreter version

0.2.0

Python version

3.12.3

Operating System name and version

Windows11/Ubuntu 22

Additional context

No response

@Merlinvt
Copy link

I think you might just need to put the model in --model "anthropic/claude-3-haiku". It works for me on ubuntu.
Screenshot from 2024-05-10 07-39-58

@Merlinvt
Copy link

Also with openrouter
Screenshot from 2024-05-10 07-43-11

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