安裝pip install silx 錯(cuò)誤記錄

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
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

友情鏈接更多精彩內(nèi)容