-
Notifications
You must be signed in to change notification settings - Fork 33
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
ImportError: cannot import name 'WebsocketsTransport' from 'gql' #36
Comments
I fixed it by changing in every file needed with this |
Yeah, it works. Incorrect import commands are present in two files (was working in the Google colab):
The package itself was installed using "pip install ai-dungeon-cli". Fix this one please. |
ahem, the APIs of AI fungeon changed a bunch of times since last commit and we didn't catch up. i'm highly dubbitative that fixing import paths would be enough to put back this thing in a working state. (those "wrong" import paths where "right" at a time put furthermore, it seems that AIDungeon as evolved to include features that'd be close to impossible to have in a pure CLI tool (image generation) + others that'd require moving to libcurses. so, i guess that unless someone really wants to kickstart re-reverse engineering the new APIs this project should be archived. furthermore i could repurpose it for this thing called, you know, ChatGPT. |
I get this error:
from gql import gql, Client, WebsocketsTransport
ImportError: cannot import name 'WebsocketsTransport' from 'gql'
The text was updated successfully, but these errors were encountered: