Ask Your Question

Can't display figures

asked 2019-01-08 05:28:12 -0600

tomme gravatar image

updated 2019-01-08 07:28:22 -0600


i installed Sage on a new computer this morning, but i can't display any figures. That's the error i get :

/home/xxx/Documents/SageMath/local/lib/python2.7/site-packages/sage/\ repl/rich_output/ RichReprWarning: Exception in _rich_repr_ while displaying object: cannot open shared object file: No such file or directory RichReprWarning, Graphics object consisting of 1 graphics primitive

Anyone got an idea why? i'm using the notebook of sagemaths Thanks.

edit retag flag offensive close merge delete



Could you please give us some informations so that someone can try to reproduce your problem:

  • which version of Sage did you use ?
  • which OS ?
  • did you install Sage from the binaries, and which ones ?
  • did you compile Sage yourself ?
tmonteil gravatar imagetmonteil ( 2019-01-08 06:20:13 -0600 )edit

Sage 8.5 on Ubuntu 18.04. I installed Sage from the binaries and i compiled Sage myself yes

tomme gravatar imagetomme ( 2019-01-08 07:30:19 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-01-08 07:56:18 -0600

eric_g gravatar image

It looks like libtk8.6 is not installed on your system. Can you install the Ubuntu package libtk8.6 and try again?

edit flag offensive delete link more


Thank you eric, it works perfectly now !

tomme gravatar imagetomme ( 2019-01-08 08:08:16 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-01-08 05:15:39 -0600

Seen: 54 times

Last updated: Jan 08