[Pytables-users] pytables: could not find the HDF5 runtime

2012-12-10 Thread Jennifer Flegg
Hi, I'm trying to install pytables and its proving difficult (using MAC OS 10.6.4). I have installed in "/usr/local/hdf5" and set the environment variable $HDF5_DIR to /usr/local/hdf5. When I run setup, I get a warning about not being able to find the HDF5 runtime. ndmmac149:tables-2.4.0 jflegg

Re: [Pytables-users] pytables: could not find the HDF5 runtime

2012-12-10 Thread Anthony Scopatz
Try leaving the pytables source dir and then running then running IPython. On Mon, Dec 10, 2012 at 9:20 AM, Jennifer Flegg wrote: > Hi, > I'm trying to install pytables and its proving difficult (using MAC OS > 10.6.4). > I have installed in "/usr/local/hdf5" and set the environment variable > $

Re: [Pytables-users] Problems with flush(): RuntimeError: dictionary changed size during iteration

2012-12-10 Thread Alan Marchiori
I'm continuing to fight this error. As a sanity check I rewrote my sample app as a single thread only. With interleaved read/writes to multiple tables I still get "RuntimeError: dictionary changed size during iteration" in flush. I still think there is some underlying problem or something I don'

Re: [Pytables-users] Problems with flush(): RuntimeError: dictionary changed size during iteration

2012-12-10 Thread Alan Marchiori
I think I have found a viable work around. Previously, I was flushing the whole HDF5 file: self.h5.flush() By replacing this with a flush on just the table of interest: table = self.tables[random.randint(0, self.num_groups-1)][random.randint(0, self.num_tables-1)] table.flush() The RuntimeError s

Re: [Pytables-users] pytables: could not find the HDF5 runtime

2012-12-10 Thread Jennifer Flegg
HI Anthony, I'm not in the pytables source dir when I'm running IPython, so I don't think this is the problem. Thanks, Jennifer -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs an

Re: [Pytables-users] pytables: could not find the HDF5 runtime

2012-12-10 Thread Anthony Scopatz
Hi Jennifer, Oh, right, I am sorry. Your end error message looks very similar to another, more common issue. How did you install HDF5? On Mac I typically use MacPorts or have to install it from source. IIRC the macports build fails to make the shared libraries and you typically have to configu

Re: [Pytables-users] pytables: could not find the HDF5 runtime

2012-12-10 Thread Jennifer Flegg
Hi Anthony, Thanks for your reply. I installed HDF5 also from source. The reason I'm building hdf5 and pytables myself is that they don't seem to be available through EPD any more (at least in the free version: http://www.enthought.com/products/epdlibraries.php) They used to both come bundled in

Re: [Pytables-users] pytables: could not find the HDF5 runtime

2012-12-10 Thread Anthony Scopatz
Hi Jennifer, Yeah, that is right, they are not in EPD Free. However, they are in Anaconda CE (http://continuum.io/downloads.html). Note the CE rather than the full version. Be Well Anthony On Mon, Dec 10, 2012 at 4:07 PM, Jennifer Flegg wrote: > Hi Anthony, > Thanks for your reply. I installe