安装lib表时出错,在Windows中找不到hdf5 [英] Error to install lib tables, cant find hdf5 in windows

查看:129
本文介绍了安装lib表时出错,在Windows中找不到hdf5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在Windows环境中执行表lib的isntall,无法找到解决方案,该错误是关于hdf5安装和hdf5目录的!

i cant do the isntall of tables lib in my windows enviorment and cant found a solution, the error is about hdf5 intalling and hdf5 directory!

有人知道我该如何解决?

Someone know how can i solve this?

错误是:

    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\

推荐答案

要从源代码安装PyTable,您需要大量

To install PyTables from sources you need a lot of prerequisites.

在PyPI上适用于Python 2.7的w32和w64二进制文件,3.5和3.6.如果您可以更改Python版本,则可以安装预编译的PyTables.

At PyPI there are w32 and w64 binary wheels for Python 2.7, 3.5 and 3.6. If you can change your Python version you can install precompiled PyTables.

这篇关于安装lib表时出错,在Windows中找不到hdf5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆