Open CYST084 opened 6 months ago
Hi @CYST084 Thanks for raising this and sorry to hear that you're having issues. What terminal are you using? Do any permissions need to be granted?
Oh I sorted the error It was a problem with python package management When I purged python from my system and reinstalled it afresh everything worked perfectly.
On Wed, Mar 27, 2024, 8:26 PM Mike Bird @.***> wrote:
Hi @CYST084 https://github.com/CYST084 Thanks for raising this and sorry to hear that you're having issues. What terminal are you using? Do any permissions need to be granted?
— Reply to this email directly, view it on GitHub https://github.com/OpenInterpreter/open-interpreter/issues/1040#issuecomment-2023366907, or unsubscribe https://github.com/notifications/unsubscribe-auth/A564YB5S7HD34MP6Z6PCAKTY2L6KTAVCNFSM6AAAAABD3UD3B6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRTGM3DMOJQG4 . You are receiving this because you were mentioned.Message ID: @.***>
Describe the bug
(interpreter1_env) C:\Users\user\interpreter1>interpreter Traceback (most recent call last): File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\user\interpreter1\interpreter1_env\Scripts\interpreter.exe__main.py", line 4, in
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\interpreter__init.py", line 1, in
from .core.core import OpenInterpreter
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\interpreter\core\core.py", line 11, in
from ..terminal_interface.start_terminal_interface import start_terminal_interface
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\interpreter\terminal_interface\start_terminal_inte
rface.py", line 11, in
from .conversation_navigator import conversation_navigator
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\interpreter\terminal_interface\conversation_naviga
tor.py", line 10, in
import inquirer
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\inquirer\ init__.py", line 1, in
from inquirer.prompt import prompt
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\inquirer\prompt.py", line 1, in
import inquirer.themes as themes
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\inquirer\themes.py", line 9, in
term = Terminal()
^^^^^^^^^^
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\blessed\terminal.py", line 167, in init__
self._kind = kind or curses.get_term(self._init_descriptor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\jinxed\win32.py", line 331, in get_term
set_console_mode(filehandle, mode | ENABLE_VIRTUAL_TERMINAL_PROCESSING)
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\jinxed\win32.py", line 181, in set_console_mode
return bool(KERNEL32.SetConsoleMode(filehandle, mode))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\jinxed\win32.py", line 86, in _check_bool
raise ctypes.WinError(ctypes.get_last_error())
OSError: [WinError 87] The parameter is incorrect.
(interpreter1_env) C:\Users\user\interpreter1>
Reproduce
create a new folder, cd to the folder, create a venv upgrade pip pip install open-interpreter After installation is done, run interpreter. The error below shows: (interpreter1_env) C:\Users\user\interpreter1>interpreter Traceback (most recent call last): File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\user\interpreter1\interpreter1_env\Scripts\interpreter.exe__main.py", line 4, in
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\interpreter__init.py", line 1, in
from .core.core import OpenInterpreter
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\interpreter\core\core.py", line 11, in
from ..terminal_interface.start_terminal_interface import start_terminal_interface
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\interpreter\terminal_interface\start_terminal_inte
rface.py", line 11, in
from .conversation_navigator import conversation_navigator
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\interpreter\terminal_interface\conversation_naviga
tor.py", line 10, in
import inquirer
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\inquirer\ init__.py", line 1, in
from inquirer.prompt import prompt
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\inquirer\prompt.py", line 1, in
import inquirer.themes as themes
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\inquirer\themes.py", line 9, in
term = Terminal()
^^^^^^^^^^
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\blessed\terminal.py", line 167, in init__
self._kind = kind or curses.get_term(self._init_descriptor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\jinxed\win32.py", line 331, in get_term
set_console_mode(filehandle, mode | ENABLE_VIRTUAL_TERMINAL_PROCESSING)
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\jinxed\win32.py", line 181, in set_console_mode
return bool(KERNEL32.SetConsoleMode(filehandle, mode))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\interpreter1\interpreter1_env\Lib\site-packages\jinxed\win32.py", line 86, in _check_bool
raise ctypes.WinError(ctypes.get_last_error())
OSError: [WinError 87] The parameter is incorrect.
(interpreter1_env) C:\Users\user\interpreter1>
Expected behavior
To run normally as in various tutorials
Screenshots
No response
Open Interpreter version
0.2..0
Python version
3.11.1
Operating System name and version
Windows 10
Additional context
No response