Comments (10)
I got a traceback just after the [IPKernelApp] WARNING | Parent appears to have exited, shutting down.
message a few days ago on macOS. However, the traceback only showed once but the [IPKernelApp] WARNING | Parent appears to have exited, shutting down.
shows every time, so I am not sure if they are relative. Here's the traceback:
Traceback (most recent call last):
File "/usr/local/bin/i", line 5, in <module>
from interpreter.terminal_interface.start_terminal_interface import main
File "/usr/local/lib/python3.11/dist-packages/interpreter/__init__.py", line 2, in <module>
from .core.core import OpenInterpreter
File "/usr/local/lib/python3.11/dist-packages/interpreter/core/core.py", line 15, in <module>
from .computer.computer import Computer
File "/usr/local/lib/python3.11/dist-packages/interpreter/core/computer/computer.py", line 8, in <module>
from .display.display import Display
File "/usr/local/lib/python3.11/dist-packages/interpreter/core/computer/display/display.py", line 21, in <module>
plt = lazy_import("matplotlib.pyplot")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/interpreter/core/utils/lazy_import.py", line 11, in lazy_import
spec = importlib.util.find_spec(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib.util>", line 94, in find_spec
File "/usr/local/lib/python3.11/dist-packages/matplotlib/__init__.py", line 161, in <module>
from . import _api, _version, cbook, _docstring, rcsetup
File "/usr/local/lib/python3.11/dist-packages/matplotlib/rcsetup.py", line 27, in <module>
from matplotlib.colors import Colormap, is_color_like
File "/usr/local/lib/python3.11/dist-packages/matplotlib/colors.py", line 57, in <module>
from matplotlib import _api, _cm, cbook, scale
File "/usr/local/lib/python3.11/dist-packages/matplotlib/scale.py", line 22, in <module>
from matplotlib.ticker import (
File "/usr/local/lib/python3.11/dist-packages/matplotlib/ticker.py", line 143, in <module>
from matplotlib import transforms as mtransforms
File "/usr/local/lib/python3.11/dist-packages/matplotlib/transforms.py", line 46, in <module>
from numpy.linalg import inv
File "/usr/local/lib/python3.11/dist-packages/numpy/linalg/__init__.py", line 73, in <module>
from . import linalg
File "/usr/local/lib/python3.11/dist-packages/numpy/linalg/linalg.py", line 34, in <module>
from numpy.lib.twodim_base import triu, eye
File "/usr/local/lib/python3.11/dist-packages/numpy/lib/__init__.py", line 23, in <module>
from . import index_tricks
File "/usr/local/lib/python3.11/dist-packages/numpy/lib/index_tricks.py", line 12, in <module>
import numpy.matrixlib as matrixlib
File "/usr/local/lib/python3.11/dist-packages/numpy/matrixlib/__init__.py", line 4, in <module>
from . import defmatrix
File "/usr/local/lib/python3.11/dist-packages/numpy/matrixlib/defmatrix.py", line 12, in <module>
from numpy.linalg import matrix_power
ImportError: cannot import name 'matrix_power' from partially initialized module 'numpy.linalg' (most likely due to a circular import) (/usr/local/lib/python3.11/dist-packages/numpy/linalg/__init__.py)
I was planning to solve this problem, but something bad happened recently and got me delayed.
from open-interpreter.
I got a traceback just after the
[IPKernelApp] WARNING | Parent appears to have exited, shutting down.
message a few days ago on macOS. However, the traceback only showed once but the[IPKernelApp] WARNING | Parent appears to have exited, shutting down.
shows every time, so I am not sure if they are relative. Here's the traceback:
...
I think the import error in the traceback has been solved by @KillianLucas
from open-interpreter.
Ok I will stop playing around. I dont know how to code but I am starting doing a lot of custom AI work and need to learn. Any recommendations for fast start training? thanks
from open-interpreter.
Having the same error, but on Windows. Tidbit that caught the attention "C:\laragon\bin\python\python-3.10\lib\site-packages\interpreter\core\llm\utils\convert_to_openai_messages.py", line 173, in convert_to_openai_messages new_message["content"] = new_message["content"].strip() AttributeError: 'list' object has no attribute 'strip'
I basically have an unworkable Interpreter as in any setting and with every command it just crashes like this.
from open-interpreter.
I'm experiencing the same issue with Open Interpreter 0.2.4 New Computer Update on macOS Sonoma 14.3.1 (23D60). Whenever I run any command that requires Open Interpreter, such as executing Python code or running the interpreter from the terminal, I consistently encounter the following error message:
[IPKernelApp] WARNING | Parent appears to have exited, shutting down.
Even when I run stuff that doesn't require open interpreter to actually run code, it still shows the error.
For example, when I check the version using the command interpreter --version
, I get the following output:
(/Users/uz./uzCode/vacNAV/.conda) uz.@uzMacBookM3Pro ~ % interpreter --version
Open Interpreter 0.2.4 New Computer Update
(/Users/uz./uzCode/vacNAV/.conda) uz.@uzMacBookM3Pro ~ % [IPKernelApp] WARNING | Parent appears to have exited, shutting down.
[IPKernelApp] WARNING | Parent appears to have exited, shutting down.
It also happens in python code when I try to run anything with open interpreter
For example, when I run this in python:
interpreter.chat("Open Arc")
It runs as normal but then I get this after:
[IPKernelApp] WARNING | Parent appears to have exited, shutting down.
Sometimes this happens and cuts off open interpreter so that it cannot run the code or complete the task I give it.
I don't see any other error messages or tracebacks apart from the "[IPKernelApp] WARNING | Parent appears to have exited, shutting down." message.
I have already tried reinstalling Open Interpreter and updating to the latest version, but the issue persists.
Please let me know if there are any known solutions or workarounds for this problem. Any assistance would be greatly appreciated.
from open-interpreter.
I also encountered this problem...I don't know how to solve it. It seems like the old version didn't have this issue, but it appeared after I upgraded. I have been unable to use it.
from open-interpreter.
I updated macOS to 14.4.1(23E224). However, this phenomenon has not changed.
from open-interpreter.
This seems to be something with Python and/or Jupyter. We are taking a look. Unfortunately, this output is obfuscating other issues, so please check the output for other errors to make sure that you're reporting the correct thing. Thanks!
from open-interpreter.
Here is the latest error message I got:
[IPKernelApp] WARNING | Parent appears to have exited, shutting down.
[IPKernelApp] WARNING | Parent appears to have exited, shutting down.
Python Version: 3.11.8
Pip Version: 23.3.1
Open-interpreter Version: cmd: Open Interpreter 0.2.4 New Computer Update
, pkg: 0.2.4
OS Version and Architecture: macOS-14.3.1-arm64-arm-64bit
CPU Info: arm
RAM Info: 18.00 GB, used: 7.42, free: 0.40
# Interpreter Info
Vision: False
Model: claude-3-haiku-20240307
Function calling: None
Context window: None
Max tokens: None
Auto run: True
API base: None
Offline: False
Curl output: Not local
# Messages
...
end system message
{'role': 'user', 'type': 'message', 'content': 'open wikipedia'}
Output is truncated. View as a [scrollable element](command:cellOutput.enableScrolling?a7ac37cf-96c8-42be-a0f0-00346451022a) or open in a [text editor](command:workbench.action.openLargeOutput?a7ac37cf-96c8-42be-a0f0-00346451022a). Adjust cell output [settings](command:workbench.action.openSettings?%5B%22%40tag%3AnotebookOutputLayout%22%5D)...
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
File [~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1132](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1132), in completion(model, messages, timeout, temperature, top_p, n, stream, stop, max_tokens, presence_penalty, frequency_penalty, logit_bias, user, response_format, seed, tools, tool_choice, logprobs, top_logprobs, deployment_id, extra_headers, functions, function_call, base_url, api_version, api_key, model_list, **kwargs)
[1126](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1126) api_base = (
[1127](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1127) api_base
[1128](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1128) or litellm.api_base
[1129](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1129) or get_secret("ANTHROPIC_API_BASE")
[1130](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1130) or "https://api.anthropic.com/v1/messages"
[1131](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1131) )
-> [1132](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1132) response = anthropic.completion(
[1133](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1133) model=model,
[1134](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1134) messages=messages,
[1135](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1135) api_base=api_base,
[1136](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1136) custom_prompt_dict=litellm.custom_prompt_dict,
[1137](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1137) model_response=model_response,
[1138](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1138) print_verbose=print_verbose,
[1139](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1139) optional_params=optional_params,
[1140](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1140) litellm_params=litellm_params,
[1141](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1141) logger_fn=logger_fn,
[1142](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1142) encoding=encoding, # for calculating input/output tokens
[1143](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1143) api_key=api_key,
[1144](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1144) logging_obj=logging,
[1145](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1145) headers=headers,
[1146](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1146) )
[1147](https://file+.vscode-resource.vscode-cdn.net/Users/uz./uzCode/vacNAV/important/~/uzCode/vacNAV/.conda/lib/python3.11/site-packages/litellm/main.py:1147) if (
...
-> 8265 raise e
8266 else:
8267 raise original_exception
APIConnectionError: list index out of range
This also happens when i run the code in a normal python file without Jupyter.
Thanks in advance.
from open-interpreter.
This is fixed once pull request 1145 is merged! It's not actually an error, just a message printed when Jupyter exits.
from open-interpreter.
Related Issues (20)
- role inversion with llama 3 "You are Open Interpreter"
- Hosted multimodal models from Open Router currently don't work on Open Interpreter HOT 2
- Adding the 'Computer' destroyed open intererpreter which was the best product i used HOT 9
- Installation fails without specifying full Python version in one-liner `oi-mac-installer.sh`
- Termux: tip and report, each time during upgrade
- In VSCode terminal, generated code blocks & errors progressively repeat in a flashing way
- "open terminal failed: not a terminal"
- Password-input prompt from OS was removed from the terminal when OI try to run `sudo` commands. HOT 3
- "× This environment is externally managed" Error
- support for gpt-4o HOT 5
- Field "model_name" has conflict with protected namespace "model_". HOT 2
- 使用 ollama 本地模型时报错 HOT 1
- computer is not defined HOT 1
- Install for Noobs like me on windows 10 HOT 4
- `AttributeError: 'wrapper_descriptor' object has no attribute '__code__'` when attempting to use a custom language HOT 1
- [interprsbendary25:feature/edit-codemeter/core/respond.py__](url) HOT 2
- No module named 'openai.types.beta.threads.message_content' HOT 1
- may I know why OI output so many texts?
- `java` disabled or not supported.
- Windows timers use deprecated "AT command" instead of schtasks (pwsh)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-interpreter.