<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:1.2em 0px!important">What version of h5py? It looks like this was fixed <a href="https://github.com/h5py/h5py/issues/410">a while ago</a>, but <a href="https://github.com/gem/h5py/blob/master/h5py/ipy_completer.py">this old version</a> would incorrectly trigger a pre-0.11 branch due to the removal of a deprecated API (IPython.core.ipapi).</p>
<p style="margin:1.2em 0px!important">-MinRK</p>
<div title="MDH:V2hhdCB2ZXJzaW9uIG9mIGg1cHk/IEl0IGxvb2tzIGxpa2UgdGhpcyB3YXMgZml4ZWQgW2Egd2hp
bGUgYWdvXShodHRwczovL2dpdGh1Yi5jb20vaDVweS9oNXB5L2lzc3Vlcy80MTApLCBidXQgW3Ro
aXMgb2xkIHZlcnNpb25dKGh0dHBzOi8vZ2l0aHViLmNvbS9nZW0vaDVweS9ibG9iL21hc3Rlci9o
NXB5L2lweV9jb21wbGV0ZXIucHkpIHdvdWxkIGluY29ycmVjdGx5IHRyaWdnZXIgYSBwcmUtMC4x
MSBicmFuY2ggZHVlIHRvIHRoZSByZW1vdmFsIG9mIGEgZGVwcmVjYXRlZCBBUEkgKElQeXRob24u
Y29yZS5pcGFwaSkuPGRpdj48YnI+PC9kaXY+PGRpdj4tTWluUks8L2Rpdj4=" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 1, 2015 at 10:06 PM, Osborn, Raymond <span dir="ltr"><<a href="mailto:rosborn@anl.gov" target="_blank">rosborn@anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Darren,<br>
<br>
>>> from IPython.utils import generics<br>
<br>
seems to work. There may be other changes you need to be aware of, but I’ll leave that to the real experts.<br>
<br>
Ray<br>
<div><div class="h5"><br>
> On Dec 1, 2015, at 2:56 PM, Darren Dale <<a href="mailto:dsdale24@gmail.com">dsdale24@gmail.com</a>> wrote:<br>
><br>
> I wrote a custom completer for h5py some years ago, and discovered a problem after updating ipython to the latest version:<br>
><br>
> [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<br>
><br>
> 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?<br>
><br>
> Thanks,<br>
> Darren<br>
</div></div>> _______________________________________________<br>
> IPython-dev mailing list<br>
> <a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
> <a href="https://mail.scipy.org/mailman/listinfo/ipython-dev" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br>
--<br>
Ray Osborn, Senior Scientist<br>
Materials Science Division<br>
Argonne National Laboratory<br>
Argonne, IL 60439, USA<br>
Phone: <a href="tel:%2B1%20%28630%29%20252-9011" value="+16302529011">+1 (630) 252-9011</a><br>
Email: <a href="mailto:ROsborn@anl.gov">ROsborn@anl.gov</a><br>
<br>
<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/ipython-dev" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</blockquote></div><br></div>