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

Fix optional import crash and error

Open CyanideByte opened this issue 1 year ago • 0 comments

Describe the changes you have made:

  • Fixed a crash by converting a missed import cv2 in display.py to lazy_import.
  • Removed the single quotes around pip install open-interpreter[os].

Reference any relevant issues (e.g. "Fixes #000"):

  • ModuleNotFoundError: No module named 'cv2'
  • ERROR: Invalid requirement: "'open-interpreter[os]'"

Pre-Submission Checklist (optional but appreciated):

  • [x] I have included relevant documentation updates (stored in /docs)
  • [x] I have read docs/CONTRIBUTING.md
  • [x] I have read docs/ROADMAP.md

OS Tests (optional but appreciated):

  • [x] Tested on Windows
  • [ ] Tested on MacOS
  • [ ] Tested on Linux

CyanideByte avatar Apr 10 '24 21:04 CyanideByte