Ask Your Question

Sage 7.6 installation on fedora

asked 2017-11-04 18:32:51 +0200

JnCA gravatar image

updated 2017-11-11 20:43:29 +0200

vdelecroix gravatar image

Hi there, Im new to SageMath and newer to Linux. I am running Fedora 26 and I've installed SageMath from the Fedora repository using the command line. When I execute the program I see a terminal like window open and close quickly then nothing else. I am not sure which Log file to look into to give you more information. Any help will be greatly appreciated.

edit retag flag offensive close merge delete


Which are the linux console answers when asking for the following informations... ?!

  • which sage (In my case it is /usr/bin/sage)
  • sage -h (the sage help)
  • sage -sh (This should start the sage shell in the same window. Type Control+D to exit.)
  • sage -v (This should show the version and quit.)
  • sage and this should really start sage.

All above commands should be typed and started from a command line window like xterm, konsole, ...

To install xterm, if not already there try as superuser yum install xterm.

(How did you execute the program exactly?!)

dan_fulea gravatar imagedan_fulea ( 2017-11-06 19:51:57 +0200 )edit

So I tried the above in terminal. I'm running version 7.6. when I try sage after sage -sh and sage -v I get an error: import error: no module named traitlets.config.application

Which sage returns: /usr/bin/sage

Hope this helps.

JnCA gravatar imageJnCA ( 2017-11-07 23:35:56 +0200 )edit
vdelecroix gravatar imagevdelecroix ( 2017-11-11 20:33:11 +0200 )edit

Could you try installing the Python module traitlets? (the package name should be python2-traitlets)

vdelecroix gravatar imagevdelecroix ( 2017-11-11 20:34:33 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-11-11 20:40:39 +0200

vdelecroix gravatar image

This is a known issue with the fedora package, see fedora bug report 1464520. It should be solved with

$ sudo dnf install python2-traitlets
$ sudo dnf install python2-backports-shutil_get_terminal_size
edit flag offensive delete link more

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: 2017-11-04 18:32:51 +0200

Seen: 1,302 times

Last updated: Nov 11 '17