[IPython-dev] ~/.ipython/extensions is deprecated

Fourhundred Thecat 400thecat at gmx.ch
Tue Jul 25 06:21:33 EDT 2023


Hello,

so, I have installed ipython 8.5.0

(I have existing profile directory, which I used previously on version
5.8.0)

when I start, I get:

Loading extensions from ~/.ipython/extensions is deprecated. We
recommend managing extensions like any other Python packages, in
site-packages.

In version 5.8.0, I had my extension as:

~/.ipython/extensions/physics.py

Now I tried copying it to

   /usr/lib/python3/dist-packages/IPython/extensions/

but when i start ipython, it cannot find the extension.

so where should i put my extension file, if not  ~/.ipython/extensions ?


thanks,


More information about the IPython-dev mailing list