From: Andreas H. <li...@hi...> - 2013-04-27 19:26:40
|
Am 27.04.2013 19:42, schrieb Anthony Scopatz: > On Sat, Apr 27, 2013 at 12:35 PM, Andreas Hilboll <li...@hi... > <mailto:li...@hi...>> wrote: > > Am 27.04.2013 19 <tel:27.04.2013%2019>:17, schrieb Anthony Scopatz: > > Whoo hoo! Thanks for all of your hard work Antonio! > > > > PyTables users, we'd really appreciate it if you could try out > this beta > > release, run the test suite: > > > > $ python -c "import tables as tb; tb.test()" > > > > And let us know if there are any issues. Additionally, if you are > > feeling brave, any help you can give closing out the last remaining > > issues [1] would be great! > > $ virtualenv --system-site-packages .virtualenvs/pytables-test > (pytables-test) $ python -c "import tables; tables.test()" > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "tables/__init__.py", line 82, in <module> > from tables.utilsextension import (get_pytables_version, > get_hdf5_version, > ImportError: No module named utilsextension > > > This seems like you didn't compile and install PyTables first. So to be > more clear: > > ~ $ cd pytables > ~/pytables $ python setup.py install > ~/pytables $ cd .. > ~ $ python -c "import tables; tables.test()" > > Be Well > Anthony > > > > -- Andreas. > > Sorry, didn't write down that line. Actually, I did compile and install pytables using python setup.py install from within the virtualenv. The problem was that I ran that command from within the installation directory, so that `import tables` didn't import the installed version. I keep making that mistake with every project at least twice :-/ When you try to do that in scipy, it gives a warning. Maybe it would be a good idea to do this in pytables as well? The tests all ran well: $ python -c "import tables as tb; tb.test()" -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= PyTables version: 3.0.0b1 HDF5 version: 1.8.4-patch1 NumPy version: 1.6.1 Numexpr version: 1.4.2 (not using Intel's VML/MKL) Zlib version: 1.2.3.4 (in Python interpreter) BZIP2 version: 1.0.6 (6-Sept-2010) Blosc version: 1.2.1-rc1 (2013-04-24) Cython version: 0.15.1 Python version: 2.7.3 (default, Aug 1 2012, 05:14:39) [GCC 4.6.3] Platform: linux2-x86_64 Byte-ordering: little Detected cores: 2 Default encoding: ascii -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [...] Ran 5242 tests in 493.636s OK and $ python -c "import tables as tb; tb.test()" -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= PyTables version: 3.0.0b1 HDF5 version: 1.8.4-patch1 NumPy version: 1.6.1 Numexpr version: 2.1 (not using Intel's VML/MKL) Zlib version: 1.2.3.4 (in Python interpreter) BZIP2 version: 1.0.6 (6-Sept-2010) Blosc version: 1.2.1-rc1 (2013-04-24) Cython version: 0.19 Python version: 3.2.3 (default, Oct 19 2012, 20:10:41) [GCC 4.6.3] Platform: linux2-x86_64 Byte-ordering: little Detected cores: 2 Default encoding: utf-8 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [...] Ran 5217 tests in 526.794s OK -- -- Andreas. |