Traceback (most recent call last):


 "/softdev/akuurstr/python/h5py_test.py", line 11, in <module>

ds['a_string'] = test_string


 "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper


 "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper


 "/softdev/akuurstr/python/virtualenvs/h5py_test/lib/python3.8/site-packages/h5py/_hl/dataset.py", line 845, in __setitem__

val = val.view(numpy.dtype([(names[0], dtype)]))


 "/softdev/akuurstr/python/virtualenvs/h5py_test/lib/python3.8/site-packages/numpy/core/_internal.py", line 459, in _view_is_safe

raise TypeError("Cannot change data-type for object array.")
TypeError: Cannot change data-type for object array.

Traceback (most recent call last):


 "/home/thomas/temp/bar.py", line 1, in <module>

import importlib_resources


 "<frozen importlib._bootstrap>", line 968, in _find_and_load


 "<frozen importlib._bootstrap>", line 957, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 664, in _load_unlocked


 "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible


 "/home/thomas/temp/gna/lib/python3.5/site-packages/importlib_resources/__init__.py", line 36, in <module importlib_resources>

__version__ = read_text('importlib_resources', 'version.txt').strip()


 "/home/thomas/temp/gna/lib/python3.5/site-packages/importlib_resources/_py3.py", line 158, in read_text

package = _get_package(package)


 "/home/thomas/temp/gna/lib/python3.5/site-packages/importlib_resources/_py3.py", line 41, in _get_package

raise TypeError('{!r} is not a package'.format(package))
TypeError: 'importlib_resources' is not a package
