open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

The interpreter cannot install required dependencies by itself.

Open stan1233 opened this issue 3 months ago • 0 comments

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

stan1233 avatar Apr 23 '24 06:04 stan1233