美文网首页
安装pip install silx 错误记录

安装pip install silx 错误记录

作者: 一只飞 | 来源:发表于2020-10-14 15:41 被阅读0次

    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
    

    相关文章

      网友评论

          本文标题:安装pip install silx 错误记录

          本文链接:https://www.haomeiwen.com/subject/cgrwpktx.html