Ask Your Question
1

RISE in Jupyter

asked 2019-08-19 22:25:07 +0200

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!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2019-08-20 06:37:10 +0200

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...

edit flag offensive delete link more

Comments

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

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2019-08-20 23:10:36 +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

Stats

Asked: 2019-08-19 22:25:07 +0200

Seen: 395 times

Last updated: Aug 20 '19