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
looks like term_image upgraded it's api, and nbpreview is using the old one. i'll pin the dependencies first as a quick fix, then later upgrade the code to use the new api
thanks for flagging!
lebedov
added a commit
to lebedov/nbpreview
that referenced
this issue
Mar 28, 2023
I fixed it for myself. Is the solution still needed? The pull-request above is a little bit wrong.
If anyone gonna hack this for themselves too, just two notes: TermImage is now created via BlockImage (subclass of BaseImage), maxsize was redefined as frame_size. For details check this link.
What happened?
Getting : AttributeError: module 'term_image.image' has no attribute 'TermImage'
as an error, everytime i try to run
nbpreview version
0.9.1
Output
AttributeError: module 'term_image.image' has no attribute 'TermImage'
Notebook
any notebook
OS
macOs
Terminal
any terminal (fish shell)
Python version
3.9.6
The text was updated successfully, but these errors were encountered: