How to automatically reload modules in IPython?
<p>Before I begin, I want to say that I am not a programmer; I am a geek and an engineer. Thus, I love coding and use it academically. Stackoverflow taught me more than 80% of what I know about python.</p>

<p>My problem is I need to manually reload the modules in my scripts by first importing importlib into my terminal and than using <code>importlib.reload(*modulename*)</code> to reload them. I want my IPython terminal to automatically reload the modules in my python scripts when I run them through my IPython terminal. This functionally was provided in previous version using the magic command <code>%autoreload</code>, which does not seem to work for me.</p>

<p>I have looked @ the IPython documentation (link 1), tried using the <code>%load_ext autoreload</code> command (link 2) and the <code>import ipy_autoreload</code> followed by <code>%autoreload 2</code> command (link 3). I found more than 4 other answers in stackoverflow telling me to do the things in either link 2 or 3; it didn't work for me. If anyone knows how to bring back autoreloading, it would make my fingers a bit happier.</p>

<p>Link 1: <a href="https://ipython.org/ipython-doc/3/config/extensions/autoreload.html" rel="noreferrer" title="Old IPython docs">https://ipython.org/ipython-doc/3/config/extensions/autoreload.html</a></p>

<p>Link 2: <a href="https://stackoverflow.com/a/18216967/5762140" title="Answer about using %load_ext autoreload">https://stackoverflow.com/a/18216967/5762140</a></p>

<p>Link 3: <a href="https://stackoverflow.com/a/4765191/5762140" title="Answer about using import Ipy_autoreload">https://stackoverflow.com/a/4765191/5762140</a></p>

<p>I am using a 64 bit installation of Windows 7. I have IPython 4.0.1 which came with my installation of Anaconda3 (3.18.9 64bit). Screenies about my error traceback from the IPython terminal when i try to use <code>%load_ext autoreload</code> can be provided on request.</p>