安装lib表时出错,在Windows中找不到hdf5

2024-04-26 10:40:15 发布

您现在位置:Python中文网/ 问答频道 /正文

我不能在我的windows环境下完成lib表的全部操作,也找不到解决方案,错误是关于hdf5插入和hdf5目录!在

有人知道我怎么解决这个问题吗?在

错误是:

    C:\Users\thiago.bueno>pip install --upgrade tables
Collecting tables
  Using cached https://files.pythonhosted.org/packages/4d/53/8f34ce887c2a2ad8051
8980419a5f6f41defc85a287a355987e559ce9385/tables-3.4.4.tar.gz
    Complete output from command python setup.py egg_info:
    H5closextvivw_e.c
    C:\Users\THIAGO~1.BUE\AppData\Local\Temp\H5closextvivw_e.c(2): warning C4013
: 'H5close' indefinido; assumindo extern retornando int
    LINK : fatal error LNK1181: não foi possível abrir o arquivo de entrada 'hdf
5.lib'
    * Using Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914
64 bit (AMD64)]
    * USE_PKGCONFIG: False
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\THIAGO~1
.BUE\AppData\Local\Temp\pip-install-k7z1g3z5\tables\

Tags: installpippyinfotablesegglib错误