【发布时间】:2015-06-15 03:57:42
【问题描述】:
我使用 anaconda,但无法升级
conda update pytables
它说“已经安装”。
....
# All requested packages already installed.
# packages in environment at C:\Anaconda:
#
pytables 3.1.1 np19py27_1
然后我尝试了 pip:
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文件。
【问题讨论】:
标签: python installation anaconda pytables