OpenInterpreter / open-interpreter

A natural language interface for computers
http://openinterpreter.com/
GNU Affero General Public License v3.0
52.44k stars 4.63k forks source link

The interpreter cannot install required dependencies by itself. #1226

Open stan1233 opened 5 months ago

stan1233 commented 5 months ago

Describe the bug

  ---------------------------------------------------------------------------
  ModuleNotFoundError                       Traceback (most recent call last)
  Cell In[65], line 4
        2 import os
        3 print('##active_line2##')
  ----> 4 from rdkit import Chem
        5 print('##active_line4##')
        6 sdf_files = []

  ModuleNotFoundError: No module named 'rdkit'

I can see that there are some issues with the code block. It seems like you're missing the RDKit library, which is required for working with chemical structures.

To fix this, you'll need to install RDKit. You can do this using pip:

  `
  pip install rdkit

  Cell In[70], line 1
      `
      ^
  SyntaxError: invalid syntax

Reproduce

The interpreter wrote a piece of code according to the plan, but was unable to install the required dependencies.

Expected behavior

Install the dependencies required for the scripts you need.

Screenshots

No response

Open Interpreter version

Open-interpreter Version: cmd: Open Interpreter 0.2.4 New Computer Update , pkg: 0.2.4

Python version

Python Version: 3.11.9

Operating System name and version

Windows-10-10.0.22631-SP0

Additional context

No response