Pyhton-Lucene installation steps in Ubuntu(Follow the order): 1. Update apt: sudo apt-get update 2. Install Java: sudo apt-get install openjdk-8-jre-headless openjdk-8-jre openjdk-8-jdk 3. Install Python: sudo apt-get install python 4. Install python-lucene(optional): sudo apt-get install python-lucene 5. Install anaconda2(full python): For 32 bit download and install from: https://repo.continuum.io/archive/Anaconda2-5.0.1-Linux-x86.sh For 64 bit download and install from: https://repo.continuum.io/archive/Anaconda2-5.0.1-Linux-x86_64.sh 6. Then go to <anaconda2 install dir>/bin. 7. Open a terminal in that directory. 8. Now run the following command: ./conda install -c kalefranz pylucene 9. Then run (each time when open a terminal to use pylucene): (if your anaconda installed in your home folder. Otherwise change the path accordingly): export LD_LIBRARY_PATH=/home/$USER/anaconda2/lib:/home/$USER/anaconda2/jre/lib:/home/$USER/anaconda...
Comments
Post a Comment