I try to set autoreload to my development process, but it seems, that the method I learned from that thread is not working with my versions.
I tried
- ipython -V: 0.10 and python -V Python 2.6.6
- ipython -V: 0.10.1 and python -V Python 2.7.3
but
%load_ext autoreload
%autoreload 2
returns
ERROR: Magic function `load_ext` not found.
which is kind of obvious, because
In [1]: %lsmagic
Available magic functions:
%Exit %Pprint %Quit %alias %autocall %autoindent %automagic %bg %bookmark %cd %clear %color_info %colors %cpaste %debug %dhist %dirs %doctest_mode %ed %edit %env %exit %hist %history %logoff %logon %logstart %logstate %logstop %lsmagic %macro %magic %p %page %paste %pdb %pdef %pdoc %pfile %pinfo %popd %profile %prun %psearch %psource %pushd %pwd %pycat %quickref %quit %r %rehash %rehashx %rep %reset %run %runlog %save %sc %store %sx %system_verbose %time %timeit %unalias %upgrade %who %who_ls %whos %xmode
this method is not available. How can I install other magic functions?
Current Install
In your current install, can you try:-
and see what you get?
New Install
Can you attempt to reinstall
IPythonwith(for a local install if you are using virtualenv) or
if you are install your
IPythonsystem-wide.And because
pip installdoesn’t deal with sys path properly if you are on Mac OSX, you might need to do(if you are using Mac OSX)
If you have the latest
IPython, you should seeIPython 0.13.1when you first load up the shell. And you shouldn’t have any problems with%load_ext autoreloadthen.