ImportError: No module named _ffnet

  • Anonymous

    Anonymous - 2011-05-10

    On Ubuntu I've successfuly compiled the ffnet from source, but when trying to start the tests:

      warnings.warn(msg, DeprecationWarning)
    /usr/lib/pymodules/python2.6/networkx/generators/ DeprecationWarning: the sets module is deprecated
      import sets
    Traceback (most recent call last):
      File "./", line 3, in <module>
        from ffnet._tests import runtest
      File "/home/orwen/bin/ffnet-0.6.2/", line 17, in <module>
        from fortran import _ffnet as netprop
      File "/home/orwen/bin/ffnet-0.6.2/fortran/", line 5, in <module>
        import _ffnet, _pikaia 
    ImportError: No module named _ffnet

    Does Anybody have a clue why the moodule could not be imported?

  • Anonymous

    Anonymous - 2011-05-10

    I'm running it from ~/bin/ffnet-0.6.2 and there ARE right modules in ~/bin/ffnet-0.6.2/fortran:
    $ ls fortran
    ffnet.f  __init__.pyc  pikaia.f

  • Marek

    Marek - 2011-07-10

    You'd better do not try to import ffnet being in ffnet directory. Instead add ffnet dir to PYTHONPATH and import it from another place.

  • Jelmer Oosthoek

    Jelmer Oosthoek - 2013-05-29

    Just got it working: Open numpy-MKL-1.7.1.win32-py2.6.‌exe (1) with a zip program, e.g. WinRAR, and extract PLATLIB\numpy\core*.dll to the ffnet\fortran directory



Log in to post a comment.