-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
Running windows, python 3.10,
I literally just did: pip install rich
And then inside idle, run:
from rich.console import Console
console = Console()
console.print([1, 2, 3])
And I just get an error?
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
console.print([1, 2, 3])
File "C:\Users\samue\AppData\Roaming\Python\Python310\site-packages\rich\console.py", line 1737, in print
render_options = self.options.update(
File "C:\Users\samue\AppData\Roaming\Python\Python310\site-packages\rich\console.py", line 1073, in options
max_height=self.size.height,
File "C:\Users\samue\AppData\Roaming\Python\Python310\site-packages\rich\console.py", line 1101, in size
width, height = os.get_terminal_size()
ValueError: bad file descriptor
Am I missing something?