I'm having trouble installing/using the
h5py (http://www.h5py.org/) library while using the stack miniconda environment. Installing this library in my home directory using
pip (the stack one), I get the following error during the import.
>>> import h5py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/afs/in2p3.fr/home/n/nchotard/.local/lib/python2.7/site-packages/h5py/__init__.py", line 24, in <module>
from . import _errors
ImportError: /afs/in2p3.fr/home/n/nchotard/.local/lib/python2.7/site-packages/h5py/_errors.so: undefined symbol: PyUnicodeUCS2_FromUnicode
Does anyone know how to fix that? The alternative solution I was thinking about was to have this library included in the miniconda install of the stack, which would actually be an easier way to fix that and make sure that there won't be such problem in the later weeklies, that I'm using every week.