Installation

Requirements

ffnet needs at least:

ffnetui depends additionally on:

For ffnetui python-2.7 is necessary. This is because traitsui does not work well with python-3.x currently.

If you’re going to compile ffnet from sources you’ll need also:

  • Python header files (which are installed with Python by default on Windows, but not on most Linux distros, for example on Ubuntu you need additional python-dev package),
  • C and Fortran 77 compilers (on Linux you have gcc and gfortran, on Windows you can consider using mingw32).

On Windows you can conveniently install Python(xy) distribution which comes now with ffnet (and its dependencies) preinstalled. Also, you might be interested in installing Anaconda which reaches all ffnet requirements (including compilers) and is free for non-commercial use.

Installation on Linux

Just call from command line:

pip install ffnet

pip install ffnetui

or unpack downloaded tar.gz files and run:

python setup.py install

The first method will install also dependencies, the second one probably will not.

If you get compilation errors then you possibly need gcc and gfortran and/or python headers.

Installation on Windows

If you have proper system setup the above methods should also work. However you can try binary installers available on download page. Be aware, that installers for ffnet need working python installation and do not check dependencies. On the other hand ffnetui installers are all-in-one, self-contained bundles. You don’t even need python to install and use ffnetui.

Testing

ffnet installation can be tested in python console:

from ffnet._tests import runtest
runtest()

Remember to leave installation directory first!

Execute also ffnet examples. They all should work.