You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that get_ipython is not in globals when executed in pretty.py, causing the rich text formatter not being installed. It is actually in globals()['__builtins__']. I suggest just use try to replace this check. The problem happens here:
Version:
It seems that
get_ipython
is not in globals when executed inpretty.py
, causing the rich text formatter not being installed. It is actually inglobals()['__builtins__']
. I suggest just usetry
to replace this check. The problem happens here:rich/rich/pretty.py
Line 214 in 8c7449f
The fix is:
The text was updated successfully, but these errors were encountered: