Ask Your Question
1

Sage 7.6 installation on fedora

asked 7 years ago

JnCA gravatar image

updated 7 years ago

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.

Preview: (hide)

Comments

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 ( 7 years ago )

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 ( 7 years ago )

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

vdelecroix gravatar imagevdelecroix ( 7 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 7 years ago

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
Preview: (hide)
link

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

Stats

Asked: 7 years ago

Seen: 1,512 times

Last updated: Nov 11 '17