lebedov/msgpack-numpy

Error with Python 32 bit

Closed this issue · 3 comments

I just found another bug on a 32 bit python. There is no np.float128 on 32 bit architecture.

Traceback (most recent call last):
import msgpack_numpy as m
File "C:\Python27\lib\site-packages\msgpack_numpy__init__.py", line 47, in
'complex256': np.float128,
AttributeError: 'module' object has no attribute 'float128'

I could resolve the problem by commenting out line 47. Is there a proper way of doing this?

Pushed a fix - try the latest code.

Thank you. Now it works fine.