Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.

Calling py.nwb.display_versions.matlab() results in "Python Error: ImportError: cannot import name _errors" #6

Open
ragavsathish opened this issue Oct 1, 2016 · 1 comment

Comments

@ragavsathish
Copy link

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'>
@jonc125
Copy link
Contributor

jonc125 commented Jan 17, 2017

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants