diff --git a/src/sage/all_cmdline.py b/src/sage/all_cmdline.py index b8839edd483..020502c7fde 100644 --- a/src/sage/all_cmdline.py +++ b/src/sage/all_cmdline.py @@ -15,7 +15,10 @@ sage_mode = 'cmdline' from sage.all import * -from sage.misc.lazy_import import lazy_import -lazy_import("sage.calculus.predefined", "x") + +try: + from sage.calculus.predefined import x +except ImportError: + pass sage.misc.session.init()