Ask Your Question

Can't display figures

asked 2019-01-08 12:28:12 +0200

tomme gravatar image

updated 2019-01-08 14:28:22 +0200


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 13:20:13 +0200 )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 14:30:19 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-01-08 14:56:18 +0200

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 15:08:16 +0200 )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 12:15:39 +0200

Seen: 513 times

Last updated: Jan 08 '19