Follow me
-
Recent Posts
calendar
October 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Recent Comments
- Stan on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- Cormac on Pandas : how to compare dataframe with None
- LP on AWK: the substr command to select a substring
- jrab on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- How to disable SSL verification for urlretrieve? – Peter's blog on python: certificate verified failed
Archives
Categories
Meta
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
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
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