ffnet needs at least:
For plots (which appear in examples) you’ll need the matplotlib package. It is also very convenient to use ffnet interactively with ipython, an enhanced python shell.
ffnet uses numpy.distutils and f2py tool (shipped with numpy) to compile Fortran parts of the library. If you’re going to compile ffnet from sources (actually you have to do so unless your OS does not provide binary package) you’ll need also:
You might also be interested in installing Enthought Python Distribution which reaches all ffnet requirements (including compilers) and is free for non-commercial use.
Go to sourceforge download page for release versions of ffnet.
You can also checkout development version of the code from the project subversion repository:
svn co https://ffnet.svn.sourceforge.net/svnroot/ffnet/trunk ffnet
or from this direct link.
If you have setuptools installed you can try to call from command line (as root):
easy_install ffnet
Alternatively, if you have pip, you can call:
pip install ffnet
These commands should automatically download, compile and install ffnet.
If this doesn’t work for you, try manual installation. Unpack ffnet to the directory of your choice, enter it and run:
python setup.py install
python setup.py build --compiler=mingw32 & python setup.py install --skip-build
You are also welcome to produce and share binary packages for your operating system. They will be placed at ffnet’s download page.
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.