6
我使用Anaconda,並與如何在anaconda上安裝pytables 3.2?
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
文件。