安装pip install silx 错误记录

Loading library to get version: libhdf5.so
error: libhdf5.so: cannot open shared object file: No such file or directory

----------------------------------------

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-o9l2ysl9/h5py/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-g2nkfeqc-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-o9l2ysl9/h5py/

image.png
sudo apt install libhdf5-dev
sudo apt-get install python-h5py
Cython.Compiler.Errors.CompileError: /tmp/pip-build-2wsc9ee7/h5py/h5py/h5a.pyx
    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2wsc9ee7/h5py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-qnf4xiih-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-2wsc9ee7/h5py/
pip3 install h5py
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容