running .py files on Linux
Tingting HAN
hihighsky at gmail.com
Mon Apr 26 12:05:40 EDT 2010
Dear Officer,
I downloaded a C code packet which contains many .py files. When I try to
run these.py files on my computer with Linux system, for every .py file the
following error occurs:
hantingting at tityro:~/Downloads/triMC3D/python$ python
Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
[4]+ Stopped python
hantingting at tityro:~/Downloads/triMC3D/python$ python test_detector.py
Traceback (most recent call last):
File "test_detector.py", line 9, 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 downloaded the .
I sincerely hope you could give me some advice to solve the problem.
--
Best regards,
HAN Tingting
ETSI de Telecomunicación - office C-203-1
Dpto. Ingeniería Electrónica
Ciudad Universitaria s/n
Madrid 28040, Spain
TEL: +34 65 232 4340
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100426/df622f28/attachment.html>
More information about the Python-list
mailing list