-
Notifications
You must be signed in to change notification settings - Fork 104
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
FileNotFoundError #165
Comments
Thanks for your report. This is resolved in v1.4.9 |
The error might still exists in the latest version. I am currently using poe-api-wrapper==1.4.9 and get the same error when running openai/api.py |
can you specify your os and python version? |
Ah I've found the problem. When building binary dist the json files got ignored |
running on windows 11, python 3.11 |
I've just updated the setup.py config, it should work now. |
Yes, it works now, thanks. |
Still has the bug with ubuntu22.04 + python3.10
|
That's working |
but no work
|
Seems like the wrapper couldn't get the formkey. Try passing it manually: from poe_api_wrapper import PoeServer
tokens = {
"p-b": "XXXXXXX",
"p-lat": "XXXXXXXX",
"formkey": "XXXXXXX"
}
PoeServer(tokens=tokens) |
again, same errors
|
Can you check your tokens again if they are correct and try this example ^^: from poe_api_wrapper import PoeApi
tokens = {
...
}
client = PoeApi(tokens)
for chunk in client.send_message("a2", "Hello!"):
print(chunk["response"], flush=True, end="") |
check p-b p-lat poe-formkey again
|
To fix this, please make it so it is not OS-dependent:
The text was updated successfully, but these errors were encountered: