IEPY installation¶
IEPY runs on python 3, and it’s fully tested with version 3.4. These installation notes assume that you have a fresh installation of Ubuntu 14.04. If you are installing IEPY on a different platform, some details or software versions may be slightly different.
Because of some of its dependencies, IEPY installation is not a single pip install, but it’s actually not that hard.
- Outline:
- install some system packages
- install iepy itself
- download 3rd party binaries
System software needed¶
You need to install the following packages:
sudo apt-get install build-essential python3-dev liblapack-dev libatlas-dev gfortran
They are needed for python Numpy installation. Once this is done, install numpy by doing:
pip install numpy
And later, for been able to run some java processes:
sudo apt-get install openjdk-7-jre
Note
Instead of openjdk-7-jre you can use any other java (version 1.6 or higher) you may have.
Java 1.8 will allow you to use the newest preprocess models.
Install IEPY package¶
- Create a Virtualenv
- Install IEPY itself
pip install iepy
Configure java & NLTK
In order to preprocess documents, set the environment variable JAVAHOME=/usr/bin/java (or the path where java was installed) To make this configuration persistent, add it to your shell rc file.
Download the third party data and tools¶
You should have now a command named “iepy”. Use it like this to get some required binaries.
iepy --download-third-party-data
Note
If the java binary pointed by your JAVAHOME is 1.8, newest preprocess models will be acquired and used.