Running Open Interpreter on Windows

0xkoji - Sep 17 '23 - - Dev Community

GitHub logo OpenInterpreter / open-interpreter

A natural language interface for computers

● Open Interpreter

Discord JA doc ZH doc ES doc UK doc IN doc License

Get early access to the desktop app‎ ‎ |‎ ‎ Documentation



local_explorer



pip install open-interpreter
Enter fullscreen mode Exit fullscreen mode

Not working? Read our setup guide.

interpreter
Enter fullscreen mode Exit fullscreen mode

Open Interpreter lets LLMs run code (Python, Javascript, Shell, and more) locally. You can chat with Open Interpreter through a ChatGPT-like interface in your terminal by running $ interpreter after installing.

This provides a natural-language interface to your computer's general-purpose capabilities:

  • Create and edit photos, videos, PDFs, etc.
  • Control a Chrome browser to perform research
  • Plot, clean, and analyze large datasets
  • ...etc.

⚠️ Note: You'll be asked to approve code before it's run.

Demo

Open.Interpreter.Demo.mp4

An interactive demo is also available on Google Colab:

Open In Colab

Along with an example voice interface, inspired by Her:

Open In Colab

Quick Start

pip install open-interpreter
Enter fullscreen mode Exit fullscreen mode

Terminal

After installation, simply run interpreter:

interpreter
Enter fullscreen mode Exit fullscreen mode

Python

from interpreter import interpreter
interpreter.chat("Plot AAPL and META's normalized stock prices") 
Enter fullscreen mode Exit fullscreen mode

1. Create a virtual env

mkdir openInterpreter
cd openInterpreter
python -m venv venv openinterpreter_env
Enter fullscreen mode Exit fullscreen mode

2. Activate venv

./openinterpreter_env/Script/activate
Enter fullscreen mode Exit fullscreen mode

3. Install open-interpreter

pip install open-interpreter
Enter fullscreen mode Exit fullscreen mode

4. Run Open Interpreter

The following command is to use gpt3.5 turbo.

interpreter --fast

Welcome to Open Interpreter.

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

▌ OpenAI API key not found

To use GPT-4 (recommended) please provide an OpenAI API key.

To use Code-Llama (free but less capable) press enter.

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Enter fullscreen mode Exit fullscreen mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .