Issue
Am trying to set ipython default text editor. Using Ipython 0.13.2 Using the %edit magic I get the following message:
No default editor available.
Specify a GUI text editor in the `IPythonWidget.editor` configurable to enable the %edit magic
tried looking for it in IPython tried importing IPythonWidget.. no luck
Have checked the following questions: Ipython Configuration - Config Classes Overview also checked the the Overview of Ipython config system. http://ipython.org/ipython-doc/stable/config/overview.html
I can create profiles (using the ipython command line options) and I know where they are have added started files to the startup folder in the config directory.
I don't follow how the Configuration classes work at all. Looks like I have to create them? Should I save them in my ipython configuration startup folder?
Specifically looking to set Sublime Text as editor, but if I can get instructions on any editor, can probably adapt it form there.
Solution
In your profile, edit ipython_qtconsole_config.py
, you'll find a line # c.IPythonWidget.editor = ''
uncomment and set the value to the command to launch your editor.
Answered By - Matt
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.