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
You should have the directory containing the 'akismet' directory in your path. I guess, you have added the 'akismet' directory itself to $PYTHONPATH.
When you write:
from akismet import Akismet
Python tries to open file akismet/Akismet.py
somewhere in its search path.
All this assuming Akismet
is a file and akismet
is a directory. If there is an akismet.py
file, then the directory containing this file should be listed in $PYTHONPATH
.