running .py files on Linux

alex goretoy agoretoy at gmail.com
Mon Apr 26 13:24:59 EDT 2010


make sure the tar, zip or package you downloaded isn't corrupt. verify it
with a md5sum and then extract it. just a thought.
Thank you,
-Alex Goretoy
http://launchpad.net/~a1g


On Mon, Apr 26, 2010 at 11:05 AM, Tingting HAN <hihighsky at gmail.com> wrote:

> 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
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100426/d27cb2de/attachment-0001.html>


More information about the Python-list mailing list