Tag Archives: ipython

ipython autocompletion does not work

With IPython version 7.12.0 and python 3.7.3, Ipython crashes when I wanted to autocomplete a file or a module import. This fixed my problem: pip install pyreadline An the jedi package was set to 0.18.0 but this seems to cause … Continue reading

Posted in Computer Science | Tagged , | Leave a comment

ipython notebook and matplotlib

In order to have the plots to be shown within a ipython notebook, you should include the following code at the beginning. %pylab inline%pylab inline Images may be tiny. You can set the size by playing with the matplotlib configuration … Continue reading

Posted in Python | Tagged , | Leave a comment

ipython error

If you get this kind of error when starting ipython: /Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/kernmagic/__init__.py in activate(ip, *args) 14 continue 15 magic_name = name[len(’magic_’):] —> 16 ip.shell.define_magic(magic_name, getattr(mymagics, name)) 17 18 def activate_aliases(ip, *args):   AttributeError: ‘TerminalInteractiveShell’ object has no attribute ‘shell’/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/kernmagic/__init__.py in activate(ip, … Continue reading

Posted in Python | Tagged | Leave a comment