import warnings

def load_ipython_extension(ip):
    msg = ("The octavemagic extension has been moved to oct2py. "
           "After installing oct2py, you can load octavemagic with the "
           "following command: '%load_ext oct2py.ipython'.")
    warnings.warn(msg, Warning, stacklevel=2)
