api-python
api-python copied to clipboard
Calling py.nwb.display_versions.matlab() results in "Python Error: ImportError: cannot import name _errors"
I am trying to use matlab bridge to construct nwb file for our electrophysiology recording. I got stuck with below error. Any help would be greatly appreciated !
>> py.nwb.display_versions.matlab()
** Versions:
Python: 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.1500 64 bit (AMD64)]
Python executable: D:\Program Files\R2016a\bin\win64\MATLAB.exe
unable to import hd5f: <type 'exceptions.ImportError'>
It's working for me (on Mac OS Sierra):
** Versions:
Python: 2.7.13 |Continuum Analytics, Inc.| (default, Dec 20 2016, 23:05:08)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)]
('Python executable: %s', '/Users/jonc/anaconda3/envs/nwb/bin/python')
HDF5 API: 1.8
HDF5: 1.8.17
Your output looks rather confused; was that a direct copy & paste? Or did it read 'hdf5' not 'hd5f'? My first guess would be that you haven't installed h5py properly in your Python environment. Did the quick Python API test work?