-
Notifications
You must be signed in to change notification settings - Fork 10
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 'DEFAULT_COLORS' from 'textual.app' #11
Comments
Exactly the same here. |
that particular import still works with textual==0.85.0 - but fails starting with 0.86.0. odd that it wasn't mentioned in release notes ... but textual itself seems to be quite in flux - maybe we should hard-pin it to avoid such failures? |
This is down to the Textual library changing from the previous theming system to a new one. The plotext library hasn't been updated to reflect this core change, but a PR is open: Textualize/textual-plotext#14 This should work for now: 60a8701 |
Perfect, thanks guys for the quick update. It worked. |
You should pin Textual, as it's still zerover and so the API is subject to change. We'll be hitting 1.0.0 soon, and then trying to adhere to SemVer as much as possible. We've just released a new version of |
Awesome, thanks for the info @darrenburns ! |
Thanks! it works, but now complains about this:
|
@jisnardo Did the Plot class previously have that method? Don't recognise it. |
plotext is 5.3.2 instead of 5.2.8, that causes de issue, just downgrade and works |
Hi, after setup, not able to start.
Thanks.
The text was updated successfully, but these errors were encountered: