Система: win 7 64bit python 3.4.3 32bit numpy 1.9.2 32bit h5py 2.4 32bit Всё ставил через установщики. Запускаю main.py: Код | import sys import os import numpy import h5py
h5py.run_tests() |
В итоге получаю: Цитата | ...................................E...............x.......................s.......................................x..............................s........ss.ss................................................................................ssssss.................................................................x....x..x................x...x.............................. ====================================================================== ERROR: test_file (h5py.tests.old.test_base.TestRepr) File object repr() with unicode ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Python34\lib\site-packages\h5py\tests\old\test_base.py", line 78, in test_file with File(fname,'w') as f: File "C:\Python34\lib\site-packages\h5py\_hl\files.py", line 231, in __init__ fid = make_fid(name, mode, userblock_size, fapl) File "C:\Python34\lib\site-packages\h5py\_hl\files.py", line 84, in make_fid fid = h5f.create(name, h5f.ACC_TRUNC, fapl=fapl, fcpl=fcpl) File "h5py\_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (C:\hdf5\h5py\h5py\_objects.c:2400) File "h5py\_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (C:\hdf5\h5py\h5py\_objects.c:2357) File "h5py\h5f.pyx", line 76, in h5py.h5f.create (C:\hdf5\h5py\h5py\h5f.c:1847) TypeError: expected bytes, str found
---------------------------------------------------------------------- Ran 371 tests in 1.461s
FAILED (errors=1, skipped=12, expected failures=7)
Process finished with exit code 0 |
Что не так?
|