Ask Your Question

%lsmagic not working

asked 2020-08-06 02:27:51 +0200

cybervigilante gravatar image

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?

edit retag flag offensive close merge delete


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.

cybervigilante gravatar imagecybervigilante ( 2020-08-06 02:37:21 +0200 )edit

I confirm the bug is still there in Sage 9.2.beta7.

eric_g gravatar imageeric_g ( 2020-08-06 18:17:05 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-09-25 07:50:24 +0200

dyne2meter gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-08-06 02:27:51 +0200

Seen: 260 times

Last updated: Sep 25 '20