システム: Mac OSX 最新
ポートを使用して xapian-core をインストールしました -
> Aarons-MacBook-Air:plugin aaron$ sudo port install xapian-core
> ---> Computing dependencies for xapian-core
> ---> Fetching archive for xapian-core
> ---> Attempting to fetch xapian-core-1.2.8_1.darwin_13.x86_64.tbz2 from http://packages.macports.org/xapian-core
> ---> Attempting to fetch xapian-core-1.2.8_1.darwin_13.x86_64.tbz2 from
> http://mse.uk.packages.macports.org/sites/packages.macports.org/xapian-core
> ---> Attempting to fetch xapian-core-1.2.8_1.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/xapian-core
> ---> Fetching distfiles for xapian-core
> ---> Attempting to fetch xapian-core-1.2.8.tar.gz from http://distfiles.macports.org/xapian-core
> ---> Verifying checksums for xapian-core
> ---> Extracting xapian-core
> ---> Configuring xapian-core
> ---> Building xapian-core
> ---> Staging xapian-core into destroot
> ---> Installing xapian-core @1.2.8_1
> ---> Activating xapian-core @1.2.8_1
> ---> Cleaning xapian-core
> ---> Updating database of binaries: 100.0%
> ---> Scanning binaries for linking errors: 100.0%
> ---> No broken files found.
次に、vim を開き、:Nvim を使用して nvim を開こうとしました。私はいくつかのエラーを受け取りました -
> Error detected while processing function NVIM_init...10_DefPython:
> Traceback (most recent call last): File
> "/Users/Aaron/.vim/plugin/python/nvim.py", line 3 import xapian
> ImportError: No module named xapian
xapianをインストールしたことをNvimに認識させるために何をする必要があるか教えてください。nvim.py 内のインポート xapian を「ハードコードされた」アドレスに向ける必要があると思います。何かのようなもの
import /usr/libs/xapian
私が正しい方向に進んでいるか、またはvimのxapianが現在どこにあるかをシステムに理解させる簡単な方法があるかどうか、誰かに教えてもらえますか?