tôi sử dụng Anaconda, và tôi không thể nâng cấp vớiLàm thế nào để cài đặt pytables 3.2 trên anaconda?
conda update pytables
nó nói "đã được cài đặt".
....
# All requested packages already installed.
# packages in environment at C:\Anaconda:
#
pytables 3.1.1 np19py27_1
Sau đó, tôi đã cố gắng 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
Tôi đã tìm kiếm ổ cứng của tôi, và không thể tìm thấy hdf5dll.lib
tập tin. Sau đó, tôi đã tải xuống HDF5-1.8.15 Patch1 mới nhất và điểm HDF5_DIR
vào thư mục đã cài đặt, vẫn lỗi tương tự và không có tệp hdf5dll.lib
trong thư mục HDF5 mới được cài đặt.