3

nupic をインストールしましたが、テストを実行するとエラーが発生しますE ValueError: bad marshal data (unknown type code)。このエラーの意味がわかりません。

$ ./scripts/run_nupic_tests.py -u
    ============================= test session starts ==============================
platform darwin -- Python 2.7.10 -- pytest-2.5.1 -- /Users/magaga/.virtualenvs/nupic/bin/python
plugins: cov, xdist
collecting ... collected 7 items / 79 errors

tests/unit/nupic/data/utils_test.py:59: UtilsTest.testParseSdr PASSED
tests/unit/nupic/data/utils_test.py:65: UtilsTest.testParseStringList PASSED
tests/unit/nupic/data/utils_test.py:35: UtilsTest.testParseTimestamp PASSED
tests/unit/nupic/data/utils_test.py:62: UtilsTest.testSerializeSdr PASSED
tests/unit/nupic/data/utils_test.py:49: UtilsTest.testSerializeTimestamp PASSED
tests/unit/nupic/data/utils_test.py:54: UtilsTest.testSerializeTimestampNoMS PASSED
tests/unit/nupic/data/utils_test.py:71: UtilsTest.testStripList PASSED

==================================== ERRORS ====================================
_______________ ERROR collecting tests/unit/nupic/utils_test.py ________________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_ ERROR collecting tests/unit/nupic/algorithms/anomaly_likelihood_jeff_test.py _
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
___ ERROR collecting tests/unit/nupic/algorithms/anomaly_likelihood_test.py ____
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_________ ERROR collecting tests/unit/nupic/algorithms/anomaly_test.py _________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_________ ERROR collecting tests/unit/nupic/algorithms/cells4_test.py __________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
___ ERROR collecting tests/unit/nupic/algorithms/cla_classifier_diff_test.py ___
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_____ ERROR collecting tests/unit/nupic/algorithms/cla_classifier_test.py ______
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
___ ERROR collecting tests/unit/nupic/algorithms/fast_cla_classifier_test.py ___
tests/unit/nupic/algorithms/fast_cla_classifier_test.py:35: in <module>
    import cla_classifier_test
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_____ ERROR collecting tests/unit/nupic/algorithms/knn_classifier_test.py ______
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
______ ERROR collecting tests/unit/nupic/algorithms/nab_detector_test.py _______
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_______ ERROR collecting tests/unit/nupic/algorithms/sp_overlap_test.py ________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (digit out of range in long)
___________ ERROR collecting tests/unit/nupic/algorithms/svm_test.py ___________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_________ ERROR collecting tests/unit/nupic/algorithms/tp10x2_test.py __________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
__________ ERROR collecting tests/unit/nupic/data/aggregator_test.py ___________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
___________ ERROR collecting tests/unit/nupic/data/dictutils_test.py ___________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
___________ ERROR collecting tests/unit/nupic/data/fieldmeta_test.py ___________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
______ ERROR collecting tests/unit/nupic/data/file_record_stream_test.py _______
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
____________ ERROR collecting tests/unit/nupic/data/filters_test.py ____________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
________ ERROR collecting tests/unit/nupic/data/functionsource_test.py _________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_______ ERROR collecting tests/unit/nupic/data/inference_shifter_test.py _______
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_________ ERROR collecting tests/unit/nupic/data/record_stream_test.py _________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_____ ERROR collecting tests/unit/nupic/data/generators/anomalyzer_test.py _____
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
__ ERROR collecting tests/unit/nupic/data/generators/pattern_machine_test.py ___
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
__ ERROR collecting tests/unit/nupic/data/generators/sequence_machine_test.py __
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
______ ERROR collecting tests/unit/nupic/encoders/adaptivescalar_test.py _______
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_________ ERROR collecting tests/unit/nupic/encoders/category_test.py __________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
________ ERROR collecting tests/unit/nupic/encoders/coordinate_test.py _________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
___________ ERROR collecting tests/unit/nupic/encoders/date_test.py ____________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
___________ ERROR collecting tests/unit/nupic/encoders/delta_test.py ___________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
___ ERROR collecting tests/unit/nupic/encoders/geospatial_coordinate_test.py ___
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
__________ ERROR collecting tests/unit/nupic/encoders/logenc_test.py ___________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
___________ ERROR collecting tests/unit/nupic/encoders/multi_test.py ___________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
___ ERROR collecting tests/unit/nupic/encoders/pass_through_encoder_test.py ____
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_ ERROR collecting tests/unit/nupic/encoders/random_distributed_scalar_test.py _
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
__________ ERROR collecting tests/unit/nupic/encoders/scalar_test.py ___________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
________ ERROR collecting tests/unit/nupic/encoders/scalarspace_test.py ________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
________ ERROR collecting tests/unit/nupic/encoders/sdrcategory_test.py ________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
 ERROR collecting tests/unit/nupic/encoders/sparse_pass_through_encoder_test.py 
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
___________ ERROR collecting tests/unit/nupic/engine/network_test.py ___________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_______ ERROR collecting tests/unit/nupic/engine/syntactic_sugar_test.py _______
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
____ ERROR collecting tests/unit/nupic/engine/unified_py_parameter_test.py _____
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
 ERROR collecting tests/unit/nupic/frameworks/opf/clamodel_classifier_helper_test.py 
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
______ ERROR collecting tests/unit/nupic/frameworks/opf/clamodel_test.py _______
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_____ ERROR collecting tests/unit/nupic/frameworks/opf/opf_metrics_test.py _____
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
 ERROR collecting tests/unit/nupic/frameworks/opf/common_models/cluster_params_test.py 
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_______ ERROR collecting tests/unit/nupic/math/array_algorithms_test.py ________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
_________ ERROR collecting tests/unit/nupic/support/decorators_test.py _________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
________ ERROR collecting tests/unit/nupic/support/object_json_test.py _________
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
 ERROR collecting tests/unit/nupic/support/consoleprinter_test/consoleprinter_test.py 
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:134: in find_module
    co = _read_pyc(fn_pypath, pyc)
/Users/magaga/.virtualenvs/nupic/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:311: in _read_pyc
    co = marshal.load(fp)
E   ValueError: bad marshal data (unknown type code)
===================== 7 passed, 79 error in 68.37 seconds ======================

Pythonとすべてを再インストールしようとしましたが、問題を解決できませんでした。

4

1 に答える 1

0

これは、デシリアライズできなかったデータをテストが使用しようとしていることを意味します。私の推測では、彼らはPythonライブラリを使用していくつかのテストデータを保存marshallしましたが、ドキュメントによると、これは一般的に使用すべきではありません:

https://docs.python.org/2/library/marshal.html

If you’re serializing and de-serializing Python objects, use the pickle module instead – the performance is comparable, version independence is guaranteed, and pickle supports a substantially wider range of objects than marshal.

テスト データが別のプラットフォームで生成されたか、使用しているのとは異なる Python バージョンを使用して生成された可能性があります。

プロジェクトページにバグレポートを提出します。

于 2016-02-07T04:44:30.480 に答える