I\'ve seen many similar errors, but I can\'t see a solution that applies to my particular problem.
I\'m trying to use the Akismet module which is on my PYTHONPATH, then
I always forget that ipython imports the modules when you use run
command inside the ipython interpreter. It won't re-import any modules that you change, so any new variables or functions won't be found. This is a known issue with ipython.
Conclusion: Avoid using run
as it won't reload your modules.