Francesc Alted <faltet <at> pytables.org> writes: > A Tuesday 23 November 2010 17:28:32 Alexander Mikhalev escrigué: > > Hello Francesc, > > I have a problem building tables using pip on Ubuntu Lucid 10.04. I > > have all requirements installed - cyphon, numexp,etc. End of output > > looks like: > > <snip> > > gcc: tables/linkExtension.c > > > > gcc: tables/linkExtension.c: No such file or directory > > > > gcc: no input files > > > > gcc: tables/linkExtension.c: No such file or directory > > > > gcc: no input files > [clip] >
I had very similar behaviour on a MacOS X system (with an up-to-date python, cython, etc.), when I was just trying 'pip install tables'. My understanding is the standard 'pip' or 'distribute' or 'easy_install' method of installing things just runs the equivalent of 'setup.py install' which doesn't do the step of building the Cython extensions. My solution was, after the failed pip installation attempt, cd into /usr/local/var/pip/build/tables/ and then do 'python setup.py build_ext --inplace' (as suggested in the README) then finished up with a 'python setup.py install'. Seemed to do the trick. I'm not sure who can make this easier - ideally one would just type "pip install tables" and be done. Is the problem here at pytables, or does something need fixing in distribute/pip/easy_install, or over at cython? > Hmm, I'd say that you are not able to import Cython correctly. Could > you tell me the result of importing this: > > >>> from Cython.Distutils import build_ext > > in a python shell in your machine? > (For what it's worth, this works for me without error) ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users