%lsmagic not working
When I run %lsmagic, instead of a listing of magic functions, all I get is <ipython.core.magics.basic.magicsdisplay object="" at="" 0x6fecd3a3ba8="">
Is this a bug or how do I get it working?
There will be a maintenance on the server on November 14th 2025.
When I run %lsmagic, instead of a listing of magic functions, all I get is <ipython.core.magics.basic.magicsdisplay object="" at="" 0x6fecd3a3ba8="">
Is this a bug or how do I get it working?
I responded to your more recent post about this. I needed to start the ipython interface to use ipython symbols like this one. I'm using 9.1. I don't know whether %lsmagic was routinely accessible without starting ipython within sage in versions pre-9.1. This could have to do with switching over to Python3, but that's a wild guess on my part.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2020-08-06 02:27:51 +0100
Seen: 394 times
Last updated: Sep 25 '20
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
update: I tried %lsmagic after opening a Python3 tab and it worked, so it only doesn't work in Sagemath 9.0 - it appears to be a bug.
I confirm the bug is still there in Sage 9.2.beta7.