File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
terminal_interface/profiles/defaults Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 12
12
import requests
13
13
from ...utils .lazy_import import lazy_import
14
14
from ..utils .recipient_utils import format_to_recipient
15
- import cv2
16
15
from screeninfo import get_monitors # for getting info about connected monitors
17
16
18
17
19
18
# Still experimenting with this
20
19
# from utils.get_active_window import get_active_window
21
20
22
21
# Lazy import of optional packages
22
+ cv2 = lazy_import ("cv2" )
23
23
pyautogui = lazy_import ("pyautogui" )
24
24
np = lazy_import ("numpy" )
25
25
plt = lazy_import ("matplotlib.pyplot" )
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ def get_function_info(file_path):
216
216
print ("Attempting to start OS control anyway...\n \n " )
217
217
218
218
for pip_name in ["pip" , "pip3" ]:
219
- command = f"{ pip_name } install ' open-interpreter[os]' "
219
+ command = f"{ pip_name } install open-interpreter[os]"
220
220
221
221
interpreter .computer .run ("shell" , command , display = True )
222
222
Original file line number Diff line number Diff line change 170
170
print ("Attempting to start OS control anyway...\n \n " )
171
171
172
172
for pip_name in ["pip" , "pip3" ]:
173
- command = f"{ pip_name } install ' open-interpreter[os]' "
173
+ command = f"{ pip_name } install open-interpreter[os]"
174
174
175
175
interpreter .computer .run ("shell" , command , display = True )
176
176
You can’t perform that action at this time.
0 commit comments