Sunday, March 22, 2015

Febrl Installation Procedures for Win Xp and 7 x386

Febrl Installation Procedures

Install Febrl from  http://sourceforge.net/projects/febrl/

step 1 : Install python 2.7 from
https://www.python.org/ftp/python/2.7/python-2.7.msi
or from
https://www.python.org/downloads/windows/

Step 2:  Set the path in the windows
Go to Control Panel\System and Security\System\Advanced System Settings\Advanced (TAB)\Environment Variables\System Variables\Path
Put SemiColan and paste the Python installed directory path
eg: C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Python27\

Step 3: Download ez_setup.py (https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py) then run in command prompt:
python ez_setup.py

Step 4: Download get-pip.py (https://raw.github.com/pypa/pip/master/contrib/get-pip.py) then run in command prompt:
python get-pip.py

Step 5: Set the path in the windows
Go to Control Panel\System and Security\System\Advanced System Settings\Advanced (TAB)\Environment Variables\System Variables\Path
Put SemiColan and paste the Python scripts installed directory path
eg: C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Python27\;C:\Python27\Scripts\

Step 6: upgrade installed setuptools by pip: (Optional) in command prompt
pip install setuptools --upgrade


Step 7: install Microsoft Visual C++ Compiler for Python 2.7 from (http://www.microsoft.com/en-in/download/details.aspx?id=44266)

Step 8:  Download pygtk (http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.22/pygtk-all-in-one-2.22.6.win32-py2.7.msi) and Install

Step 9: Download SVM  (http://www.lfd.uci.edu/~gohlke/pythonlibs/z94jfosk/libsvm-3.20-cp27-none-win32.whl)  and copy in Python home directory
Open Command Prompt and CD the Python home directory and run pip install libsvm-3.20-cp27-none-win32.whl

Step 10: In the command Prompt run Pip install matplotlib

Step 11: In the command Promp go the Path in the febrl folder where indexingTest.py is stored
and run  python indexingTest.py

Step 12: In the command Promp go the Path in the febrl folder where datasetTest.py is stored
and run  python datasetTest.py

Step 13: In the command Promp go the Path in the febrl folder where guiFebrl.py is stored
and run  python guiFebrl.py


Viola Febrl is running