Closed squidarth closed 1 month ago
rich
is the package and console
is a module.
from rich.console import Console
imports the class defined in that module.
I'm not sure what you expected?
I hope we solved your problem.
If you like using Rich, you might also enjoy Textual
Describe the bug
On rich version 13.4.2, I'm seeing the following issue:
To import the
console
module one has to import it like this:Prior to April 30, 2024, this used to work, on the same version of
rich
. Did something change with that version?Platform
Click to expand
What platform (Win/Linux/Mac) are you running on? What terminal software are you using? I may ask you to copy and paste the output of the following commands. It may save some time if you do it now. Rich Environment: ``` python -m rich.diagnose pip freeze | grep rich ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────