#25394 closed enhancement (fixed)

py3: detail of script to run notebook

Reported by: chapoton Owned by:
Priority: major Milestone: sage-8.3
Component: python3 Keywords:
Cc: embray Merged in:
Authors: Frédéric Chapoton Reviewers: Julian Rüth
Report Upstream: N/A Work issues:
Branch: 855c35f (Commits) Commit: 855c35f20fb4af93144e94f040af7c68ee9c78af
Dependencies: Stopgaps:

Description


Change History (5)

comment:1 Changed 21 months ago by chapoton

  • Branch set to public/25394
  • Commit set to 392a2ce3266a10410f0c8eb3d0ac3b637843e2b5
  • Status changed from new to needs_review

New commits:

392a2cefor notebooks on python3

comment:2 Changed 21 months ago by chapoton

even with that, jupyter only works with python kernel, not sage kernel

[I 11:42:41.350 NotebookApp] Kernel started: fc21e18c-96d7-4467-ad1a-e25cf628d815
[I 11:42:42.031 NotebookApp] Adapting to protocol v5.1 for kernel fc21e18c-96d7-4467-ad1a-e25cf628d815
[I 11:43:08.398 NotebookApp] Starting buffering for fc21e18c-96d7-4467-ad1a-e25cf628d815:1258AE4434E94BFDA8D454D3310226EA
[I 11:43:12.268 NotebookApp] Creating new notebook in 
[I 11:43:13.028 NotebookApp] Kernel started: 393c8527-bf04-48d5-9058-74491c68fa34
/home/chapoton/sage3/local/bin/python: No module named sage.repl
[I 11:43:16.028 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
/home/chapoton/sage3/local/bin/python: No module named sage.repl
[I 11:43:19.038 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
/home/chapoton/sage3/local/bin/python: No module named sage.repl
[I 11:43:22.051 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
/home/chapoton/sage3/local/bin/python: No module named sage.repl
[W 11:43:23.064 NotebookApp] Timeout waiting for kernel_info reply from 393c8527-bf04-48d5-9058-74491c68fa34
[I 11:43:25.064 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
WARNING:root:kernel 393c8527-bf04-48d5-9058-74491c68fa34 restarted
/home/chapoton/sage3/local/bin/python: No module named sage.repl
[W 11:43:28.077 NotebookApp] KernelRestarter: restart failed
[W 11:43:28.077 NotebookApp] Kernel 393c8527-bf04-48d5-9058-74491c68fa34 died, removing from map.

The sagemath kernel is looking for sage in the python2 library, obviously..

Last edited 21 months ago by chapoton (previous) (diff)

comment:3 Changed 21 months ago by git

  • Commit changed from 392a2ce3266a10410f0c8eb3d0ac3b637843e2b5 to 855c35f20fb4af93144e94f040af7c68ee9c78af

Branch pushed to git repo; I updated commit sha1. New commits:

855c35fchange spkg-install for sagenb

comment:4 Changed 21 months ago by saraedum

  • Reviewers set to Julian Rüth
  • Status changed from needs_review to positive_review

comment:5 Changed 21 months ago by vbraun

  • Branch changed from public/25394 to 855c35f20fb4af93144e94f040af7c68ee9c78af
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.