How to install pytables 3.2 on anaconda?

I am using anaconda and I cannot update using

conda update pytables 

he says "already installed."

 .... # All requested packages already installed. # packages in environment at C:\Anaconda: # pytables 3.1.1 np19py27_1 

Then I tried 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 

I searched my hard drive and could not find the hdf5dll.lib file. Then I downloaded the latest version of HDF5-1.8.15 Patch1 and the point HDF5_DIR to the installed directory, still the same error, and there is no hdf5dll.lib file in the newly installed HDF5 directory.

+6
source share
1 answer

EDIT: Since the PR below has been merged, pytables is available with

 conda install -c conda-forge pytables 

In addition, this package is available in the default channel, but only for numpy 1.11.


pip is a pretty complicated way to build them. A more suitable approach is probably to create a pytables package. One attempt to do this is https://github.com/conda-forge/staged-recipes/pull/1134

Conda packaging makes it easy to align all library dependencies. This essentially allows you to centralize the load on the assembly, so not everyone who installs something needs to know how to build it.

Conda forge is a community effort to jointly package our ecosystem.

+1
source

Source: https://habr.com/ru/post/989104/


All Articles