A Wednesday 24 September 2008, Michael Hoffman escrigué: > I am trying to install PyTables with easy_install. It doesn't work > out of the box: > > """ > $ easy_install tables > Searching for tables > Reading http://pypi.python.org/simple/tables/ > Reading http://www.pytables.org/ > No local packages or download links found for tables > error: Could not find suitable distribution for > Requirement.parse('tables') """
I see. Well, this is a good to know. As you see, I don't regularly easy_install the package, but provided that it is fairly stable and safe now, I should pay more attention to this in the future. > I think this may be because of the issue described in > <http://mail.python.org/pipermail/distutils-sig/2007-December/008525. >html>--the tarball does not have the name that would be produced by > python setup.py sdist (tables-2.0.4.tar.gz). Would you consider > changing the name of this file, or at the least, creating a symlink > with the > distutils-approved name, and re-registering it on PyPI? I've done this for the PyTables and PyPI repository, and checked that it works now. I've added a follow-up on this to #112. > Yes, this means that my previous suggested resolution at > <http://www.pytables.org/trac/ticket/112> did not work. Sorry about > that. > > Of course, the installation still wouldn't work out of the box if you > don't already have numpy installed: > > """ > $ easy_install > http://www.pytables.org/download/stable/pytables-2.0.4.tar.gz > Downloading > http://www.pytables.org/download/stable/pytables-2.0.4.tar.gz > Processing pytables-2.0.4.tar.gz > Running pytables-2.0.4/setup.py -q bdist_egg --dist-dir > /tmp/easy_install-vTrKCt/pytables-2.0.4/egg-dist-tmp-bAjQNk > .. ERROR:: Can't find a local numpy Python installation. > Please read carefully the ``README`` file and remember that > PyTables needs the numpy package to compile and run. > error: Setup script exited with 1 > """ > > But this would at least be a helpful step, because if you install > numpy, PyTables will work with "easy_install > http://www.pytables.org/download/stable/pytables-2.0.4.tar.gz" (I > just tested it). I think we would add the package 'numpy' as a requirement for the 'tables' package. However, this wouldn't solve the HDF5 requirement automatically. Cheers, -- Francesc Alted Freelance developer Tel +34-964-282-249 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Pytables-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pytables-users
