[IPython-dev] custom completers, changes since ipython-4?

Osborn, Raymond rosborn at anl.gov
Tue Dec 1 16:06:03 EST 2015

Hi Darren,

>>> from IPython.utils import generics

seems to work. There may be other changes you need to be aware of, but I’ll leave that to the real experts.


> On Dec 1, 2015, at 2:56 PM, Darren Dale <dsdale24 at gmail.com> wrote:
> I wrote a custom completer for h5py some years ago, and discovered a problem after updating ipython to the latest version:
> [TerminalIPythonApp] WARNING | Error in loading extension: h5py.ipy_completer Check your config files in /home/darren/.ipython/profile_default Traceback (most recent call last): File "/opt/conda/lib/python2.7/site-packages/IPython/core/shellapp.py", line 267, in init_extensions self.shell.extension_manager.load_extension(ext) File "/opt/conda/lib/python2.7/site-packages/IPython/core/extensions.py", line 89, in load_extension __import__(module_str) File "/opt/conda/lib/python2.7/site-packages/h5py/ipy_completer.py", line 59, in <module> from IPython import generics ImportError: cannot import name generics
> I'm sorry if this has an obvious solution that has been announced somewhere, maybe I don't know where to look anymore. Is there a list of changes that has been made to the API? What happened to generics?
> Thanks,
> Darren
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> https://mail.scipy.org/mailman/listinfo/ipython-dev

Ray Osborn, Senior Scientist
Materials Science Division
Argonne National Laboratory
Argonne, IL 60439, USA
Phone: +1 (630) 252-9011
Email: ROsborn at anl.gov

More information about the IPython-dev mailing list