2010/8/21, Jeff Reback <jreb...@yahoo.com>: > ok I verified that numpy,numexpr,cython,pytables were all compiled and exec > with the same interpreter (they are the only libraries that I installed in > this test)....also verified that my paths were correct - as far as I can > tell all of these are > > and we get basically the same error that i got on 2.5.2 - so at least back > to the same weird case! > > Jeff > > ----------- > [sheep-root-/usr/local/lib/python2.6/site-packages] /usr/local/bin/python2.6 > Python 2.6.5 (r265:79063, Aug 20 2010, 12:00:14) > [GCC 4.3.2] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import sys >>>> print sys.path > ['', '/usr/local/lib/python2.6/site-packages', > '/usr/local/lib/python26.zip', '/usr/local/lib/python2.6', > '/usr/local/lib/python2.6/plat-linux2', '/usr/local/lib/python2.6/lib-tk', > '/usr/local/lib/python2.6/lib-old', '/usr/local/lib/python2.6/lib-dynload'] >>>> import tables > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "tables/__init__.py", line 84, in <module> > from tables.file import File, openFile, copyFile > File "tables/file.py", line 45, in <module> > from tables import hdf5Extension > File "hdf5Extension.pyx", line 1, in init tables.hdf5Extension > (tables/hdf5Extension.c:15802) > AttributeError: 'module' object has no attribute '__pyx_capi__' >>>>
Ok. So again the same error than with Python 2.5. Well, at least it is a relief to know that Cython behaves the same with both Python 2.5 and Python 2.6 :-/ I've googled about this error, and found this: https://bugs.launchpad.net/cython/+bug/207542 The Cython maintainers said that they cannot reproduce the problem (and neither do I). Mmh, could you please make a detailed description of your platform and the commands that you are using so as to get this error and add it to the ticket above? Maybe we get a chance to Cython developers to look at this more carefully. Writing a report to the Cython mailing list may help too. Luck, -- Francesc Alted ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users