running .py files on Linux

Chris Rebert clp2 at rebertia.com
Tue Apr 27 07:10:59 EDT 2010


On Tue, Apr 27, 2010 at 3:54 AM, Tingting HAN <hihighsky at gmail.com> wrote:
<snip>
>> gentest_empty.py
>> Traceback (most recent call last):
>>   File "gentest_empty.py", line 8, in <module>
>>     from tables import *
>>   File "/usr/lib/python2.6/dist-packages/tables/__init__.py", line 76, in
>> <module>
>>     from tables.file import File, openFile, copyFile
>>   File "/usr/lib/python2.6/dist-packages/tables/file.py", line 44, in
>> <module>
>>     from tables import hdf5Extension
>>   File "hdf5Extension.pyx", line 11, in hdf5Extension
>> ImportError: No module named utilsExtension
>
>
>>
>> I attach two .py files from the downloaded package in this email. Could
>> you please try running them and see what is the problem?

Seems like your version of PyTables may be outdated. Your error looks
similar to that described in this (fixed) bug:
http://www.pytables.org/trac/ticket/183

What version of PyTables do you have installed?

Cheers,
Chris
--
http://blog.rebertia.com



More information about the Python-list mailing list