Hi David, 2011/1/7, david.bri...@ubs.com <david.bri...@ubs.com>: > Hi > > I get the following error when importing tables if I have lzo2.dll in my > path. Any ideas? > > C:\Shared\Python26QV>path > PATH=c:\windows\system32 > > C:\Shared\Python26QV>python > Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit > (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. >>>> import tables > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "C:\Shared\Python26QV\lib\site-packages\tables\__init__.py", line > 63, in <module> > from tables.utilsExtension import getPyTablesVersion, getHDF5Version > File "utilsExtension.pyx", line 137, in init tables.utilsExtension > (tables\utilsExtension.c:9984) > ImportError: DLL load failed: The specified module could not be found.
Your Python seems 32-bit, while it seems that you installed LZO2 DLL (which is only appropriate for 64-bit Python) instead of LZO1. Please follow directions in: http://www.pytables.org/docs/manual/ch02.html#prerequisitesBinInst Mind that, although the above talks about Win32/Win64, what is important is your Python 32-bit/64-bit version. Your case is 32-bit. Hope that helps, -- Francesc Alted ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users