我尝试将autoreload设置为我的开发过程,但看起来,我从that线程学到的方法不适用于我的版本。 我试图ipython%load_ext missing
- IPython的-V:0.10和python -V的Python 2.6.6
- IPython的-V:0.10.1和python -V的Python 2.7.3
但
%load_ext autoreload
%autoreload 2
回报
ERROR: Magic function `load_ext` not found.
这是一种明显的,因为
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
此方法不可用。我如何安装其他魔术功能?
你不能安装新的ipython? – Bula
哪一个我应该安装?我的easy_install说'sudo easy_install ipython 寻找ipython 最佳匹配:ipython 0.10.1 ' –
@MillaWell使用'pip'。 –