Opened 4 years ago

Closed 4 years ago

#26598 closed defect (wontfix)

Cannot Open Notebook

Reported by: gh-robotdna Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: notebook Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

Installed Sage through: https://anaconda.org/conda-forge/sage

with Anaconda.

In terminal, typed "sage" which functioned as expected and then "notebook()" which then proceeded to fail and throw an error:

sage: notebook()
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-b5959bb24428> in <module>()
----> 1 notebook()

/home/duncan/anaconda3/lib/python3.6/site-packages/sage/misc/lazy_import.pyx in sage.misc.lazy_import.LazyImport.__call__ (build/cythonized/sage/misc/lazy_import.c:3766)()
    352             True
    353         """
--> 354         return self.get_object()(*args, **kwds)
    355 
    356     def __repr__(self):

/home/duncan/anaconda3/lib/python3.6/site-packages/sage/misc/lazy_import.pyx in sage.misc.lazy_import.LazyImport.get_object (build/cythonized/sage/misc/lazy_import.c:2279)()
    187         if likely(self._object is not None):
    188             return self._object
--> 189         return self._get_object()
    190 
    191     cpdef _get_object(self):

/home/duncan/anaconda3/lib/python3.6/site-packages/sage/misc/lazy_import.pyx in sage.misc.lazy_import.LazyImport._get_object (build/cythonized/sage/misc/lazy_import.c:2544)()
    219         elif self._at_startup and not startup_guard:
    220             print('Option ``at_startup=True`` for lazy import {0} not needed anymore'.format(self._name))
--> 221         self._object = getattr(__import__(self._module, {}, {}, [self._name]), self._name)
    222         name = self._as_name
    223         if self._deprecation is not None:

ModuleNotFoundError: No module named 'sagenb'

Change History (7)

comment:1 Changed 4 years ago by gh-robotdna

  • Type changed from PLEASE CHANGE to defect

comment:2 Changed 4 years ago by gh-robotdna

Should I just be using "sage --notebook=jupyter" instead? If so, please remove "ype "notebook()" for the browser-based notebook interface." in the startup message as it fails and it is misleading.

comment:3 Changed 4 years ago by chapoton

see #26460

comment:4 Changed 4 years ago by jhpalmieri

Close this as a duplicate?

comment:5 Changed 4 years ago by chapoton

  • Component changed from PLEASE CHANGE to notebook
  • Milestone changed from sage-8.5 to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

yes, I agree to close

comment:6 Changed 4 years ago by jhpalmieri

  • Status changed from needs_review to positive_review

comment:7 Changed 4 years ago by embray

  • Resolution set to wontfix
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.