システムで Python アプリケーションを実行しようとしています。実行しようとすると、Xapian をインストールする必要があるというメッセージで終わるトレースバックが表示されます。そこで、macports を使用して xapian-core と xapian-bindings をインストールしました。その後、再度 Python アプリケーションを実行しようとしましたが、同じトレースバックが返されました。次に何をすべきかについてのアイデアはありますか?インストールする必要がある追加の xapian-python のようなものはありますか? この種のことは、私にとってまったく新しいことです。
Mac OS 10.6.3、Python 2.6.5、および Django 1.2.1 を使用しています
取得したトレースバックの最後の数行を次に示します。
File "/Users/nick/dev/ymtest/../ymtest/lib/haystack/__init__.py", line 46, in <module>
backend = load_backend(settings.HAYSTACK_SEARCH_ENGINE)
File "/Users/nick/dev/ymtest/../ymtest/lib/haystack/__init__.py", line 21, in load_backend
return __import__('haystack.backends.%s_backend' % settings.HAYSTACK_SEARCH_ENGINE, {}, {}, [''])
File "/Users/nick/dev/ymtest/../ymtest/lib/haystack/backends/xapian_backend.py", line 18, in <module>
raise MissingDependency("The 'xapian' backend requires the installation of 'xapian'. Please refer to the documentation.")
haystack.exceptions.MissingDependency: The 'xapian' backend requires the installation of 'xapian'. Please refer to the documentation.