如何在水蟒上安装PyTables3.2?

2024-09-29 23:29:38 发布

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

我用的是Python,我不能用

conda update pytables

上面写着“已经安装”。在

^{pr2}$

然后我试了一下皮普:

C:\Users\HP>pip install --upgrade tables
Collecting tables
  Using cached tables-3.2.0.tar.gz
    Complete output from command python setup.py egg_info:
    H5closecfvx_f.c
    r:\temp\H5closecfvx_f.c(2) : warning C4013: 'H5close' undefined; assuming ex
tern returning int
    LINK : fatal error LNK1181: cannot open input file 'hdf5dll.lib'
    * Using Python 2.7.3 |Anaconda 2.2.0 (32-bit)| (default, Feb 25 2013, 18:26:
30) [MSC v.1500 32 bit (Intel)]
    * 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 r:\temp\pip-build
-rxtig1\tables

我搜索了我的硬盘,找不到hdf5dll.lib文件。 然后我下载了最新的HDF5-1.8.15 Patch1并将HDF5_DIR指向安装的目录,仍然是相同的错误,而且新安装的HDF5目录中也没有hdf5dll.lib文件。在


Tags: pippyinfotablesegglibsetupbit
1条回答
网友
1楼 · 发布于 2024-09-29 23:29:38

编辑:由于下面的PR是合并的,pytables可用于

conda install -c conda-forge pytables

另外,这个包在defaults频道中可用,但仅适用于numpy 1.11。在


pip是一种很难排列的方法。更好的方法可能是构建一个pytables包。这样做的一个努力是在https://github.com/conda-forge/staged-recipes/pull/1134

Conda打包使排列所有库依赖项变得更加容易。它本质上允许将构建的负担集中化,因此不是每个安装某个东西的人都需要知道如何构建它。在

Conda forge是一个致力于合作包装我们的生态系统的社区努力。在

相关问题 更多 >

    热门问题