Menu

ffnet 0.8.0 Python 3.4.2 windows 8.1

2015-08-27
2015-09-03
  • Andre Smolentzov

    I have installed ffnet 0.8.0 on Windows 8.1. I dowloaded ffnet throug "Christoph Gohlke, Laboratory for Fluorescence Dynamics, University of California, Irvine" windows binaries. I am getting the following errors when running the testcases, I get many test cases correct but I am getting two errors:
    ERROR1:

    testExportNoDerivative (ffnet._tests.TestSaveLoadExport) ... Could not locate executable C:Python34pythonw.exe
    Executable C:Python34pythonw.exe does not exist

    ERROR

    testExportWithDerivative (ffnet._tests.TestSaveLoadExport) ... C:\Python34
    Could not locate executable C:Python34pythonw.exe
    Executable C:Python34pythonw.exe does not exist
    ERROR
    testSaveLoad (ffnet._tests.TestSaveLoadExport) ...
    Warning (from warnings module):
    File "C:\Python34\lib\site-packages\ffnet\ffnet.py", line 1124
    'Network files written with Python 3 not readable on Python 2')
    UserWarning: Network files written with Python 3 not readable on Python 2

    Then I got a bunch of "ok test cases.
    ok
    testNoCycles (ffnet._tests.Testbconec) ... ok
    testNoCycles (ffnet._tests.Testdconec) ... ok
    testNoCycles (ffnet._tests.Testdconec2) ... ok
    testEmpty (ffnet._tests.Testffconec) ... ok
    testNoCycles (ffnet._tests.Testffconec) ... ok
    testWithCycles (ffnet._tests.Testffconec) ... ok
    testEmpty (ffnet._tests.Testimlgraph) ... ok
    testNoBiases (ffnet._tests.Testimlgraph) ... ok
    testOneLayer (ffnet._tests.Testimlgraph) ... ok
    testThreeLayers (ffnet._tests.Testimlgraph) ... ok
    testTwoLayers (ffnet._tests.Testimlgraph) ... ok
    testEqualInRanges (ffnet._tests.Testlinear) ... ok
    testEqualOutRanges (ffnet._tests.Testlinear) ... ok
    testNormalCase (ffnet._tests.Testlinear) ... ok
    testEmpty (ffnet._tests.Testmlgraph) ... ok
    testNoBiases (ffnet._tests.Testmlgraph) ... ok
    testOneLayer (ffnet._tests.Testmlgraph) ... ok
    testThreeLayers (ffnet._tests.Testmlgraph) ... ok
    testTwoLayers (ffnet._tests.Testmlgraph) ... ok
    testEmpty (ffnet._tests.Testnormarray) ... ok
    testOneColumn (ffnet._tests.Testnormarray) ... ok
    testEmpty (ffnet._tests.Testnorms) ... ok
    testNormalCase (ffnet._tests.Testnorms) ... ok
    testOneColumn (ffnet._tests.Testnorms) ... ok
    testEmpty (ffnet._tests.Testtmlgraph) ... ok
    testNoBiases (ffnet._tests.Testtmlgraph) ... ok
    testOneLayer (ffnet._tests.Testtmlgraph) ... ok
    testThreeLayers (ffnet._tests.Testtmlgraph) ... ok
    testTwoLayers (ffnet._tests.Testtmlgraph) ... ok

    ERROR2:

    ERROR: testExportNoDerivative (ffnet._tests.TestSaveLoadExport)

    Traceback (most recent call last):
    File "C:\Python34\lib\site-packages\ffnet_tests.py", line 385, in testExportNoDerivative
    import tmpffnet2
    ImportError: No module named 'tmpffnet2'

    I have the latest scipy and numpy (scipy 0.16.0 and numpy 1.10.0b1).
    Any ideas about this problem?

    I have no problems to invoke the pythonw.exe to start the idle. For example the following command triggers the idle without problems:
    C:\Python34>pythonw.exe c:\Python34\Lib\idlelib\idle.py
    No problem to invoke the following: C:>C:Python34/pythonw.exe

     

    Last edit: Andre Smolentzov 2015-08-27
  • Marek

    Marek - 2015-09-03

    Hi!

    It seems like the problem with f2py which cannot locate python executable necessary for these two test cases (where are backssashes in the path?!):

    locate executable C:Python34pythonw.exe
    Executable C:Python34pythonw.exe does not exist

    If ffnet works normally for you i would not bother about these errors, unless you export the networks to Fortran and compile them...

    Marek

     

    Last edit: Marek 2015-09-03

Log in to post a comment.

MongoDB Logo MongoDB