-
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
Error NoneType: None Traceback (most recent call last): #247
Comments
I see the same issue on Windows as well as WSL |
Same error on Linux |
Same error on Linux with py3.10 |
Same Error here... |
this problem is because setting the openai key in the interpreter doesn't work. To make it work use this command before starting interpreter. There is probably a bug in the code where it tries to set the key when it asks you for the key if you didn't set export first.
|
This fixed it, thank you! |
Absolute legend!!! |
Hey all, my apologies for this. That exception should have contained relevant info (like that an API key was missing, if it was)— the last version would just Fixed in 0.1.3:
|
Btw depending on your system you might have to change the syntax, on Windows it is |
Imm getting this on Mac OS. Why would this be?
NoneType: None
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/bin/interpreter", line 8, in
sys.exit(cli())
^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/interpreter/interpreter.py", line 131, in cli
cli(self)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/interpreter/cli.py", line 207, in cli
interpreter.chat()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/interpreter/interpreter.py", line 287, in chat
self.respond()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/interpreter/interpreter.py", line 509, in respond
raise Exception("")
Exception
The text was updated successfully, but these errors were encountered: