我嘗試將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'。 –