Hi all!
I installed Sagemath on Linux Mint 19 PC. (Based on Ubuntu 18.04.) After I started it from console, and tried to type "notebook()" command, I got the following error messages:
----- begin -----
----> 1 notebook()
sage/misc/lazy_import.pyx in sage.misc.lazy_import.LazyImport.__call__ (build/cythonized/sage/misc/lazy_import.c:4114)()
sage/misc/lazy_import.pyx in sage.misc.lazy_import.LazyImport._get_object (build/cythonized/sage/misc/lazy_import.c:2568)()
/usr/lib/python2.7/dist-packages/sagenb/__init__.py in <module>()
1 # -*- coding: utf-8 -*
2 # init
----> 3 from . import storage
/usr/lib/python2.7/dist-packages/sagenb/storage/__init__.py in <module>()
1 # -*- coding: utf-8 -*
2
----> 3 from .filesystem_storage import FilesystemDatastore
/usr/lib/python2.7/dist-packages/sagenb/storage/filesystem_storage.py in <module>()
50
51 from .abstract_storage import Datastore
---> 52 from sagenb.misc.misc import set_restrictive_permissions, encoded_str
53
54 from sage.misc.temporary_file import atomic_write
/usr/lib/python2.7/dist-packages/sagenb/misc/misc.py in <module>()
20 #############################################################################
21
---> 22 from pkg_resources import resource_filename
23
24 def stub(f):
/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py in <module>()
48 import imp as _imp
49
---> 50 from pkg_resources.extern import six
51 from pkg_resources.extern.six.moves import urllib, map, filter
52
ImportError: No module named extern
----- end -----
I installed it from the Linux Mint repo.
Later I installed SageMath on my PC in my workplace (Linux Mint 19, too), but there everything works fine.
Please help, what can be the problem?
Many thanks:
P.