After installing Djapian ten different ways and following 5 completely different tutorials, it's time to ask for help.
Ok, the vanilla way: I go to http://code.google.com/p/djapian/wiki/Installation and follow the instructions to a tee, installing Djapian 2.0.
joshua@staging-server:/var/www$ python pri*/pro*/my*/manage.py shell
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import djapian
>>>
Great, it's installed. So I go to the tutorial (the page that pointed me to the download page) and the instructions include:
...snip...
Prior to all we create index for Studio model:
`from djapian import space, Indexer, CompositeIndexer
...snip...`
Then I get errors import errors with the tutorial code. For example:
joshua@staging-server:/var/www$ python pri*/pro*/my*/manage.py shell
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from djapian import space, Indexer, CompositeIndexer
Traceback (most recent call last):
File "<console>", line 1, in <module>
ImportError: cannot import name space
>>>
Any ideas? I'm not an amateur, this should be pretty straight forward following the examples on the Djapian site.