-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception raised #241
Comments
I'm having the same issue on MacOS. MacOS: 13.5.2 |
Uninstalling a reinstalling fixed it for me. |
I have the same issue.
|
Same issue with Linux Mint (and Mac) Linux response:
|
Same issue. Widows, Anaconda Navigator, Updated Anaconda and Python to latest versions just before installing. Chat: Hello Response: Update. I went over to the Colab link and tried it there. Not surprised to see it's crashing there as well. When you run the sample request this is the response in Colab. Response: NoneType: NoneException Traceback (most recent call last) 1 frames Exception: |
same issue here! An hour and a half ago when I tried it for the first time, I was super hooked, I felt like I could do anything. I'm almost glad it broke so I can sleep tonight 😂 |
It doesn't work in Colab either! There must be a fundamental flaw, but way beyond my paygrade to figure out! |
Same issue here: |
Same issue here |
same... |
Judging by the solutions in #247, if this happens immediately, then the OpenAI key hasn't been exported beforehand, but if it happens later on, it could be an error while calling the OpenAI endpoint causing the process to fail. If the latter is the case, then it seems error recovery would need to be looked at. |
I got a workaround.
And it works. Thank you, @diatche. |
When I opened interpreter (on my Linux machine) it promted to upgrade to v0.1.3, after which I saved the API key as you suggested and now it's all working fine (and amazing is is too!). Have to ty it on my Mac now..... Previously, I'd noticed that there was no usage for my API key so I guess it wasn't being passed. |
yep this worked for me too. Seems like a problem reading the API key from the input prompt then :) |
It worked once I upgraded to v0.1.3 using 'pip install --upgrade open-interpreter.' After that, I verified the upgrade with 'pip show open-interpreter.' Then, I executed 'set OPENAI_API_KEY=sk-xxxxx.' Afterward, I ran 'interpreter -y' and asked how many files are on my desktop? However, I encountered the following error message: 'openai.error.InvalidRequestError: The model 'gpt-4' does not exist, or you do not have access to it. Learn more: [link].' So, I then used the following command: 'interpreter --fast -y' and asked the same question, and it worked. |
I'm no expert, but should you use export OPENAI_API_KEY=sk-xxxx and not set? |
I think export is for iOS - I used set for my Windows installation and export for my Mac installation. |
Going to close this one as stale. Feel encouraged to reopen it if this is still an issue in the latest version. |
Describe the bug
Exception raised frozen runpy
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
$ interpreter -y
System (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: