python - Pylucene 4.9.0 Ubuntu 14.04 Installation ImportError -


i've been trying install pylucene on mac little on week, , have given on in favor of trying install ubuntu through virtual machine. thought installation process had gone well, fired python in terminal , tried import lucene , received following importerror:

traceback (most recent call last):   file "<stdin>", line 1, in <module>   file "/home/parallels/anaconda/lib/python2.7/site-packages/lucene/__init__.py", line 7, in <module>     import _lucene importerror: libverify.so: cannot open shared object file: no such file or directory 

so, looks there module _lucene not exist. thought have been part of had installed? insight here appreciated.

i had add paths ld_library_path environment variable things working. test here in conda build script shows variables.

export ld_library_path=$prefix/lib:$prefix/jre/lib:$ld_library_path export ld_library_path=$prefix/jre/lib/amd64:$ld_library_path export ld_library_path=$prefix/jre/lib/amd64/server:$ld_library_path export ld_library_path=$prefix/lib/python2.7/site-packages:$ld_library_path 

$prefix here path anaconda folder. install miniconda @ /usr/conda on systems.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -