open-interpreter
open-interpreter copied to clipboard
Issues with running open-interpreter using Anthropic models on Windows and Ubuntu
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:
- 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)".
- The expected output file is not generated on my computer. The issue persists even when using an Anaconda virtual environment.
- I tried resolving the issue by downgrading the Pyzmq version based on suggestions from CSDN:
- 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:
- 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.
- 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
Open Interpreter version
0.2.0
Python version
3.12.3
Operating System name and version
Windows11/Ubuntu 22
Additional context
No response
I think you might just need to put the model in --model "anthropic/claude-3-haiku". It works for me on ubuntu.
Also with openrouter