First time here? Check out the FAQ!

Ask Your Question
1

RISE in Jupyter

asked 5 years ago

JC gravatar image

Hello to eveyone,

I wnated to install and use RISE to make Jupyter presentations from Sagemath, but something went wrong. I did it once, and it works with one laptop, but when trying to do the same with anoter (freshly installed Ubuntu 18.04), I ran in trouble.

I compiled sage-8.8 from the source.

I got the instructions to install RISE from here,(changing to lower case does not affect the result) and also here.

  • When i ltry to execute ~.../sage-8.8$ ./sage -pip install RISE I get an error that begins with :

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available....

  • On the other hand I followed these instructions (option 2) to add sage as a command. Then when I do

sage -pip install RISE

from a terminal (in arbitray directory), I get

sage-run received unknown option: -pip

usage: sage [options]

Try 'sage -h' for more information

Note however that sage -n jupyter launches Jupyter correctly.

Thanks!

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 5 years ago

tmonteil gravatar image

Your Sage was compiled without SSL, which is required to let pip download the files, see https://doc.sagemath.org/html/en/inst...

Hence, you should install the openssl and libssl-devdebian packages, see the package list https://doc.sagemath.org/html/en/inst...

Preview: (hide)
link

Comments

Note : you may have to recompile/rebuild after installing openSSL

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 5 years ago )

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 5 years ago

Seen: 476 times

Last updated: Aug 20 '19