Guest User

Untitled

a guest
Feb 1st, 2021
175
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ***************************************************************************
  2.  
  3. IPython post-mortem report
  4.  
  5. {'commit_hash': '<not found>',
  6. 'commit_source': '(none found)',
  7. 'default_encoding': 'utf-8',
  8. 'ipython_path': '/usr/lib/python3.9/site-packages/IPython',
  9. 'ipython_version': '7.19.0',
  10. 'os_name': 'posix',
  11. 'platform': 'Linux-5.10.11-arch1-1-x86_64-with-glibc2.32',
  12. 'sys_executable': '/usr/bin/python',
  13. 'sys_platform': 'linux',
  14. 'sys_version': '3.9.1 (default, Dec 13 2020, 11:55:53) \n[GCC 10.2.0]'}
  15.  
  16. ***************************************************************************
  17.  
  18.  
  19.  
  20. ***************************************************************************
  21.  
  22. Crash traceback:
  23.  
  24. ---------------------------------------------------------------------------
  25. ---------------------------------------------------------------------------
  26. ImportError Python 3.9.1: /usr/bin/python
  27. Mon Feb 1 14:00:06 2021
  28. A problem occurred executing Python code. Here is the sequence of function
  29. calls leading up to the error, with the most recent (innermost) call last.
  30. /usr/bin/sage-ipython in <module>
  31. 1 #!/usr/bin/python
  32. 2 # -*- coding: utf-8 -*-
  33. 3 """
  34. 4 Sage IPython startup script.
  35. 5 """
  36. 6
  37. 7 # Display startup banner. Do this before anything else to give the user
  38. 8 # early feedback that Sage is starting.
  39. 9 from sage.misc.banner import banner
  40. 10 banner()
  41. 11
  42. 12 from sage.repl.interpreter import SageTerminalApp
  43. 13
  44. 14 app = SageTerminalApp.instance()
  45. ---> 15 app.initialize()
  46. global app.initialize = <bound method TerminalIPythonApp.initialize of <sage.repl.interpreter.SageTerminalApp object at 0x7f5f45d971c0>>
  47. 16 app.start()
  48.  
  49. /usr/lib/python3.9/site-packages/traitlets/config/application.py in inner(app=<sage.repl.interpreter.SageTerminalApp object>, *args=(), **kwargs={})
  50. 72 else:
  51. 73 raise ValueError("Unsupported value for environment variable: 'TRAITLETS_APPLICATION_RAISE_CONFIG_FILE_ERROR' is set to '%s' which is none of {'0', '1', 'false', 'true', ''}."% _envvar )
  52. 74
  53. 75
  54. 76 def catch_config_error(method):
  55. 77 """Method decorator for catching invalid config (Trait/ArgumentErrors) during init.
  56. 78
  57. 79 On a TraitError (generally caused by bad config), this will print the trait's
  58. 80 message, and exit the app.
  59. 81
  60. 82 For use on init methods, to prevent invoking excepthook on invalid input.
  61. 83 """
  62. 84 @functools.wraps(method)
  63. 85 def inner(app, *args, **kwargs):
  64. 86 try:
  65. ---> 87 return method(app, *args, **kwargs)
  66. global method = undefined
  67. app = <sage.repl.interpreter.SageTerminalApp object at 0x7f5f45d971c0>
  68. args = ()
  69. kwargs = {}
  70. 88 except (TraitError, ArgumentError) as e:
  71. 89 app.log.fatal("Bad config encountered during initialization: %s", e)
  72. 90 app.log.debug("Config at the time: %s", app.config)
  73. 91 app.exit(1)
  74. 92
  75. 93 return inner
  76. 94
  77. 95 class ApplicationError(Exception):
  78. 96 pass
  79. 97
  80. 98
  81. 99 class LevelFormatter(logging.Formatter):
  82. 100 """Formatter with additional `highlevel` record
  83. 101
  84. 102 This field is empty if log level is less than highlevel_limit,
  85.  
  86. /usr/lib/python3.9/site-packages/IPython/terminal/ipapp.py in initialize(self=<sage.repl.interpreter.SageTerminalApp object>, argv=None)
  87. 302
  88. 303 return super(TerminalIPythonApp, self).parse_command_line(argv)
  89. 304
  90. 305 @catch_config_error
  91. 306 def initialize(self, argv=None):
  92. 307 """Do actions after construct, but before starting the app."""
  93. 308 super(TerminalIPythonApp, self).initialize(argv)
  94. 309 if self.subapp is not None:
  95. 310 # don't bother initializing further, starting subapp
  96. 311 return
  97. 312 # print self.extra_args
  98. 313 if self.extra_args and not self.something_to_run:
  99. 314 self.file_to_run = self.extra_args[0]
  100. 315 self.init_path()
  101. 316 # create the shell
  102. --> 317 self.init_shell()
  103. self.init_shell = <bound method SageTerminalApp.init_shell of <sage.repl.interpreter.SageTerminalApp object at 0x7f5f45d971c0>>
  104. 318 # and draw the banner
  105. 319 self.init_banner()
  106. 320 # Now a variety of things that happen after the banner is printed.
  107. 321 self.init_gui_pylab()
  108. 322 self.init_extensions()
  109. 323 self.init_code()
  110. 324
  111. 325 def init_shell(self):
  112. 326 """initialize the InteractiveShell instance"""
  113. 327 # Create an InteractiveShell instance.
  114. 328 # shell.display_banner should always be False for the terminal
  115. 329 # based app, because we call shell.show_banner() by hand below
  116. 330 # so the banner shows *before* all extension loading stuff.
  117. 331 self.shell = self.interactive_shell_class.instance(parent=self,
  118. 332 profile_dir=self.profile_dir,
  119.  
  120. /usr/lib/python3.9/site-packages/sage/repl/interpreter.py in init_shell(self=<sage.repl.interpreter.SageTerminalApp object>)
  121. 776 self.shell.has_sage_extensions = SAGE_EXTENSION in self.extensions
  122. 777
  123. 778 # Load the %lprun extension if available
  124. 779 try:
  125. 780 import line_profiler
  126. 781 except ImportError:
  127. 782 pass
  128. 783 else:
  129. 784 self.extensions.append('line_profiler')
  130. 785
  131. 786 if self.shell.has_sage_extensions:
  132. 787 self.extensions.remove(SAGE_EXTENSION)
  133. 788
  134. 789 # load sage extension here to get a crash if
  135. 790 # something is wrong with the sage library
  136. --> 791 self.shell.extension_manager.load_extension(SAGE_EXTENSION)
  137. self.shell.extension_manager.load_extension = <bound method ExtensionManager.load_extension of <IPython.core.extensions.ExtensionManager object at 0x7f5f426df760>>
  138. global SAGE_EXTENSION = 'sage'
  139. 792
  140. 793
  141.  
  142. /usr/lib/python3.9/site-packages/IPython/core/extensions.py in load_extension(self=<IPython.core.extensions.ExtensionManager object>, module_str='sage')
  143. 72 if module_str in self.loaded:
  144. 73 return "already loaded"
  145. 74
  146. 75 from IPython.utils.syspathcontext import prepended_to_syspath
  147. 76
  148. 77 with self.shell.builtin_trap:
  149. 78 if module_str not in sys.modules:
  150. 79 with prepended_to_syspath(self.ipython_extension_dir):
  151. 80 mod = import_module(module_str)
  152. 81 if mod.__file__.startswith(self.ipython_extension_dir):
  153. 82 print(("Loading extensions from {dir} is deprecated. "
  154. 83 "We recommend managing extensions like any "
  155. 84 "other Python packages, in site-packages.").format(
  156. 85 dir=compress_user(self.ipython_extension_dir)))
  157. 86 mod = sys.modules[module_str]
  158. ---> 87 if self._call_load_ipython_extension(mod):
  159. self._call_load_ipython_extension = <bound method ExtensionManager._call_load_ipython_extension of <IPython.core.extensions.ExtensionManager object at 0x7f5f426df760>>
  160. mod = <module 'sage' from '/usr/lib/python3.9/site-packages/sage/__init__.py'>
  161. 88 self.loaded.add(module_str)
  162. 89 else:
  163. 90 return "no load function"
  164. 91
  165. 92 def unload_extension(self, module_str):
  166. 93 """Unload an IPython extension by its module name.
  167. 94
  168. 95 This function looks up the extension's name in ``sys.modules`` and
  169. 96 simply calls ``mod.unload_ipython_extension(self)``.
  170. 97
  171. 98 Returns the string "no unload function" if the extension doesn't define
  172. 99 a function to unload itself, "not loaded" if the extension isn't loaded,
  173. 100 otherwise None.
  174. 101 """
  175. 102 if module_str not in self.loaded:
  176.  
  177. /usr/lib/python3.9/site-packages/IPython/core/extensions.py in _call_load_ipython_extension(self=<IPython.core.extensions.ExtensionManager object>, mod=<module 'sage' from '/usr/lib/python3.9/site-packages/sage/__init__.py'>)
  178. 119 """
  179. 120 from IPython.utils.syspathcontext import prepended_to_syspath
  180. 121
  181. 122 if (module_str in self.loaded) and (module_str in sys.modules):
  182. 123 self.unload_extension(module_str)
  183. 124 mod = sys.modules[module_str]
  184. 125 with prepended_to_syspath(self.ipython_extension_dir):
  185. 126 reload(mod)
  186. 127 if self._call_load_ipython_extension(mod):
  187. 128 self.loaded.add(module_str)
  188. 129 else:
  189. 130 self.load_extension(module_str)
  190. 131
  191. 132 def _call_load_ipython_extension(self, mod):
  192. 133 if hasattr(mod, 'load_ipython_extension'):
  193. --> 134 mod.load_ipython_extension(self.shell)
  194. mod.load_ipython_extension = <function load_ipython_extension at 0x7f5f45d8d8b0>
  195. self.shell = <sage.repl.interpreter.SageTerminalInteractiveShell object at 0x7f5f442d1fa0>
  196. 135 return True
  197. 136
  198. 137 def _call_unload_ipython_extension(self, mod):
  199. 138 if hasattr(mod, 'unload_ipython_extension'):
  200. 139 mod.unload_ipython_extension(self.shell)
  201. 140 return True
  202. 141
  203. 142 @undoc
  204. 143 def install_extension(self, url, filename=None):
  205. 144 """
  206. 145 Deprecated.
  207. 146 """
  208. 147 # Ensure the extension directory exists
  209. 148 raise DeprecationWarning(
  210. 149 '`install_extension` and the `install_ext` magic have been deprecated since IPython 4.0'
  211.  
  212. /usr/lib/python3.9/site-packages/sage/__init__.py in load_ipython_extension(*args=(<sage.repl.interpreter.SageTerminalInteractiveShell object>,))
  213. 1 __all__ = ['all']
  214. 2
  215. 3 # Set sage.__version__ to the current version number. This is analogous
  216. 4 # to many other Python packages.
  217. 5 from sage.version import version as __version__
  218. 6
  219. 7 import sys
  220. 8 # Make sure that the correct zlib library is loaded. This is needed
  221. 9 # to prevent the system zlib to be loaded instead of the Sage one.
  222. 10 # See https://trac.sagemath.org/ticket/23122
  223. 11 import zlib
  224. 12
  225. 13 # IPython calls this when starting up
  226. 14 def load_ipython_extension(*args):
  227. 15 import sage.repl.ipython_extension
  228. ---> 16 sage.repl.ipython_extension.load_ipython_extension(*args)
  229. sage.repl.ipython_extension.load_ipython_extension = <function load_ipython_extension at 0x7f5f424ce8b0>
  230. args = (<sage.repl.interpreter.SageTerminalInteractiveShell object at 0x7f5f442d1fa0>,)
  231. 17
  232. 18
  233. 19 # Monkey-patch inspect.isfunction() to support Cython functions.
  234. 20 def isfunction(obj):
  235. 21 """
  236. 22 Check whether something is a function.
  237. 23
  238. 24 We assume that anything which has a genuine ``__code__``
  239. 25 attribute (not using ``__getattr__`` overrides) is a function.
  240. 26 This is meant to support Cython functions.
  241. 27
  242. 28 EXAMPLES::
  243. 29
  244. 30 sage: from inspect import isfunction
  245. 31 sage: def f(): pass
  246.  
  247. /usr/lib/python3.9/site-packages/sage/repl/ipython_extension.py in wrapper(*args=(<sage.repl.interpreter.SageTerminalInteractiveShell object>,), **kwargs={})
  248. 548 ....: if work:
  249. 549 ....: return 'foo worked'
  250. 550 ....: raise RuntimeError("foo didn't work")
  251. 551 sage: foo(False)
  252. 552 Traceback (most recent call last):
  253. 553 ...
  254. 554 RuntimeError: foo didn't work
  255. 555 sage: foo(True)
  256. 556 'foo worked'
  257. 557 sage: foo(False)
  258. 558 sage: foo(True)
  259. 559 """
  260. 560 @wraps(func)
  261. 561 def wrapper(*args, **kwargs):
  262. 562 if not wrapper.has_run:
  263. --> 563 result = func(*args, **kwargs)
  264. result = undefined
  265. global func = undefined
  266. args = (<sage.repl.interpreter.SageTerminalInteractiveShell object at 0x7f5f442d1fa0>,)
  267. kwargs = {}
  268. 564 wrapper.has_run = True
  269. 565 return result
  270. 566 wrapper.has_run = False
  271. 567 return wrapper
  272. 568
  273. 569
  274. 570 @run_once
  275. 571 def load_ipython_extension(ip):
  276. 572 """
  277. 573 Load the extension in IPython.
  278. 574 """
  279. 575 # this modifies ip
  280. 576 SageCustomizations(shell=ip)
  281.  
  282. /usr/lib/python3.9/site-packages/sage/repl/ipython_extension.py in load_ipython_extension(ip=<sage.repl.interpreter.SageTerminalInteractiveShell object>)
  283. 561 def wrapper(*args, **kwargs):
  284. 562 if not wrapper.has_run:
  285. 563 result = func(*args, **kwargs)
  286. 564 wrapper.has_run = True
  287. 565 return result
  288. 566 wrapper.has_run = False
  289. 567 return wrapper
  290. 568
  291. 569
  292. 570 @run_once
  293. 571 def load_ipython_extension(ip):
  294. 572 """
  295. 573 Load the extension in IPython.
  296. 574 """
  297. 575 # this modifies ip
  298. --> 576 SageCustomizations(shell=ip)
  299. global SageCustomizations = <class 'sage.repl.ipython_extension.SageCustomizations'>
  300. global shell = undefined
  301. ip = <sage.repl.interpreter.SageTerminalInteractiveShell object at 0x7f5f442d1fa0>
  302.  
  303. /usr/lib/python3.9/site-packages/sage/repl/ipython_extension.py in __init__(self=<sage.repl.ipython_extension.SageCustomizations object>, shell=<sage.repl.interpreter.SageTerminalInteractiveShell object>)
  304. 420 def __init__(self, shell=None):
  305. 421 """
  306. 422 Initialize the Sage plugin.
  307. 423 """
  308. 424 self.shell = shell
  309. 425
  310. 426 self.auto_magics = SageMagics(shell)
  311. 427 self.shell.register_magics(self.auto_magics)
  312. 428
  313. 429 import sage.misc.edit_module as edit_module
  314. 430 self.shell.set_hook('editor', edit_module.edit_devel)
  315. 431
  316. 432 self.init_inspector()
  317. 433 self.init_line_transforms()
  318. 434
  319. --> 435 import sage.all # until sage's import hell is fixed
  320. sage.all = undefined
  321. 436
  322. 437 self.shell.verbose_quit = True
  323. 438 self.set_quit_hook()
  324. 439
  325. 440 self.register_interface_magics()
  326. 441
  327. 442 if SAGE_IMPORTALL == 'yes':
  328. 443 self.init_environment()
  329. 444
  330. 445 def register_interface_magics(self):
  331. 446 """
  332. 447 Register magics for each of the Sage interfaces
  333. 448 """
  334. 449 from sage.repl.interface_magic import InterfaceMagic
  335. 450 InterfaceMagic.register_all(self.shell)
  336.  
  337. /usr/lib/python3.9/site-packages/sage/all.py in <module>
  338. 156 from sage.interfaces.all import *
  339. 157
  340. 158 from sage.functions.all import *
  341. 159 from sage.calculus.all import *
  342. 160
  343. 161 lazy_import('sage.tests', 'all', as_='tests', deprecation=27337)
  344. 162 from sage.cpython.all import *
  345. 163
  346. 164 from sage.crypto.all import *
  347. 165 import sage.crypto.mq as mq
  348. 166
  349. 167 from sage.plot.all import *
  350. 168 from sage.plot.plot3d.all import *
  351. 169
  352. 170 from sage.coding.all import *
  353. --> 171 from sage.combinat.all import *
  354. global sage.combinat.all = undefined
  355. 172
  356. 173 from sage.lfunctions.all import *
  357. 174
  358. 175 from sage.geometry.all import *
  359. 176 from sage.geometry.triangulation.all import *
  360. 177 from sage.geometry.riemannian_manifolds.all import *
  361. 178
  362. 179 from sage.dynamics.all import *
  363. 180
  364. 181 from sage.homology.all import *
  365. 182
  366. 183 from sage.quadratic_forms.all import *
  367. 184
  368. 185 from sage.games.all import *
  369. 186
  370.  
  371. /usr/lib/python3.9/site-packages/sage/combinat/all.py in <module>
  372. 156 lazy_import('sage.combinat.multiset_partition_into_sets_ordered', ['OrderedMultisetPartitionIntoSets',
  373. 157 'OrderedMultisetPartitionsIntoSets'])
  374. 158 from .subset import Subsets
  375. 159 #from subsets_pairwise import PairwiseCompatibleSubsets
  376. 160 from .necklace import Necklaces
  377. 161 lazy_import('sage.combinat.dyck_word', ('DyckWords', 'DyckWord'))
  378. 162 from .sloane_functions import sloane
  379. 163 lazy_import('sage.combinat.superpartition', ('SuperPartition',
  380. 164 'SuperPartitions'))
  381. 165
  382. 166 lazy_import('sage.combinat.parallelogram_polyomino',
  383. 167 ['ParallelogramPolyomino', 'ParallelogramPolyominoes'])
  384. 168
  385. 169 from .root_system.all import *
  386. 170 from .sf.all import *
  387. --> 171 from .ncsf_qsym.all import *
  388. global ncsf_qsym.all = undefined
  389. 172 from .ncsym.all import *
  390. 173 lazy_import('sage.combinat.fqsym', 'FreeQuasisymmetricFunctions')
  391. 174 from .matrices.all import *
  392. 175 # Posets
  393. 176 from .posets.all import *
  394. 177
  395. 178 # Cluster Algebras and Quivers
  396. 179 from .cluster_algebra_quiver.all import *
  397. 180
  398. 181 from . import ranker
  399. 182
  400. 183 from .integer_vector import IntegerVectors
  401. 184 from .integer_vector_weighted import WeightedIntegerVectors
  402. 185 from .integer_vectors_mod_permgroup import IntegerVectorsModPermutationGroup
  403. 186
  404.  
  405. /usr/lib/python3.9/site-packages/sage/combinat/ncsf_qsym/all.py in <module>
  406. 1 r"""
  407. 2 Features that are imported by default in the interpreter namespace
  408. 3 """
  409. 4 from __future__ import absolute_import
  410. 5
  411. ----> 6 from .qsym import QuasiSymmetricFunctions
  412. global qsym = undefined
  413. global QuasiSymmetricFunctions = undefined
  414. 7 from .ncsf import NonCommutativeSymmetricFunctions
  415.  
  416. /usr/lib/python3.9/site-packages/sage/combinat/ncsf_qsym/qsym.py in <module>
  417. 82 # https://www.gnu.org/licenses/
  418. 83 # ****************************************************************************
  419. 84 from sage.misc.bindable_class import BindableClass
  420. 85 from sage.categories.graded_hopf_algebras import GradedHopfAlgebras
  421. 86 from sage.categories.rings import Rings
  422. 87 from sage.categories.fields import Fields
  423. 88 from sage.categories.realizations import Category_realization_of_parent
  424. 89 from sage.structure.parent import Parent
  425. 90 from sage.structure.unique_representation import UniqueRepresentation
  426. 91 from sage.matrix.constructor import matrix
  427. 92 from sage.matrix.matrix_space import MatrixSpace
  428. 93 from sage.combinat.permutation import Permutations
  429. 94 from sage.combinat.composition import Composition, Compositions
  430. 95 from sage.combinat.partition import Partitions, _Partitions
  431. 96 from sage.combinat.free_module import CombinatorialFreeModule
  432. ---> 97 from sage.combinat.sf.sf import SymmetricFunctions
  433. global sage.combinat.sf.sf = undefined
  434. global SymmetricFunctions = undefined
  435. 98 from sage.combinat.ncsf_qsym.generic_basis_code import BasesOfQSymOrNCSF
  436. 99 from sage.combinat.ncsf_qsym.combinatorics import (number_of_fCT, number_of_SSRCT,
  437. 100 compositions_order, coeff_pi, coeff_lp, coeff_sp, coeff_ell)
  438. 101 from sage.combinat.ncsf_qsym.ncsf import NonCommutativeSymmetricFunctions
  439. 102 from sage.combinat.words.word import Word
  440. 103 from sage.combinat.tableau import StandardTableaux
  441. 104 from sage.misc.cachefunc import cached_method
  442. 105
  443. 106
  444. 107 class QuasiSymmetricFunctions(UniqueRepresentation, Parent):
  445. 108 r"""
  446. 109 .. rubric:: The Hopf algebra of quasisymmetric functions.
  447. 110
  448. 111 Let `R` be a commutative ring with unity.
  449. 112 The `R`-algebra of quasi-symmetric functions may be realized as an
  450.  
  451. /usr/lib/python3.9/site-packages/sage/combinat/sf/sf.py in <module>
  452. 17 # General Public License for more details.
  453. 18 #
  454. 19 # The full text of the GPL is available at:
  455. 20 #
  456. 21 # http://www.gnu.org/licenses/
  457. 22 #*****************************************************************************
  458. 23 from sage.structure.parent import Parent
  459. 24 from sage.structure.unique_representation import UniqueRepresentation
  460. 25 from sage.categories.graded_hopf_algebras import GradedHopfAlgebras
  461. 26 from sage.categories.fields import Fields
  462. 27 from sage.categories.rings import Rings
  463. 28 from sage.combinat.partition import Partitions
  464. 29 from sage.combinat.free_module import CombinatorialFreeModule
  465. 30 from sage.rings.rational_field import QQ
  466. 31
  467. ---> 32 from . import schur
  468. global schur = undefined
  469. 33 from . import monomial
  470. 34 from . import powersum
  471. 35 from . import elementary
  472. 36 from . import homogeneous
  473. 37 from . import hall_littlewood
  474. 38 from . import jack
  475. 39 from . import macdonald
  476. 40 from . import llt
  477. 41
  478. 42 class SymmetricFunctions(UniqueRepresentation, Parent):
  479. 43 r"""
  480. 44 The abstract algebra of commutative symmetric functions
  481. 45
  482. 46 .. rubric:: Symmetric Functions in Sage
  483. 47
  484.  
  485. /usr/lib/python3.9/site-packages/sage/combinat/sf/schur.py in <module>
  486. 7 #
  487. 8 # Distributed under the terms of the GNU General Public License (GPL)
  488. 9 #
  489. 10 # This code is distributed in the hope that it will be useful,
  490. 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
  491. 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  492. 13 # General Public License for more details.
  493. 14 #
  494. 15 # The full text of the GPL is available at:
  495. 16 #
  496. 17 # https://www.gnu.org/licenses/
  497. 18 # ****************************************************************************
  498. 19 from __future__ import absolute_import
  499. 20
  500. 21 from . import classical
  501. ---> 22 import sage.libs.lrcalc.lrcalc as lrcalc
  502. global sage.libs.lrcalc.lrcalc = undefined
  503. global lrcalc = undefined
  504. 23 from sage.misc.all import prod
  505. 24 from sage.rings.infinity import infinity
  506. 25 from sage.rings.polynomial.polynomial_ring_constructor import PolynomialRing
  507. 26 from sage.functions.other import factorial
  508. 27 from sage.combinat.tableau import StandardTableaux
  509. 28
  510. 29 class SymmetricFunctionAlgebra_schur(classical.SymmetricFunctionAlgebra_classical):
  511. 30 def __init__(self, Sym):
  512. 31 """
  513. 32 A class for methods related to the Schur symmetric function basis
  514. 33
  515. 34 INPUT:
  516. 35
  517. 36 - ``self`` -- a Schur symmetric function basis
  518. 37 - ``Sym`` -- an instance of the ring of the symmetric functions
  519.  
  520. ImportError: /usr/lib/python3.9/site-packages/sage/libs/lrcalc/lrcalc.cpython-39-x86_64-linux-gnu.so: undefined symbol: st_new
  521.  
  522. ***************************************************************************
  523.  
  524. History of session input:
  525. *** Last line of input (may not be in above history):
  526.  
RAW Paste Data