make sure the tar, zip or package you downloaded isn't corrupt. verify it with a md5sum and then extract it. just a thought.<br clear="all">Thank you,<br>-Alex Goretoy<br><a href="http://launchpad.net/~a1g">http://launchpad.net/~a1g</a><br>
<br><br><div class="gmail_quote">On Mon, Apr 26, 2010 at 11:05 AM, Tingting HAN <span dir="ltr"><<a href="mailto:hihighsky@gmail.com">hihighsky@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Dear Officer,</div>
<div>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:</div>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3" face="Times New Roman">hantingting@tityro:~/Downloads/triMC3D/python$ python</font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3" face="Times New Roman">Python 2.6.4 (r264:75706, Dec<span> </span>7 2009, 18:43:55)</font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3" face="Times New Roman">[GCC 4.4.1] on linux2</font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3" face="Times New Roman">Type "help", "copyright", "credits" or "license" for more information.</font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3"><font face="Times New Roman">>>> </font></font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3" face="Times New Roman">[4]+<span> </span>Stopped<span> </span>python</font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3" face="Times New Roman">hantingting@tityro:~/Downloads/triMC3D/python$ python test_detector.py</font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3" face="Times New Roman">Traceback (most recent call last):</font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3"><font face="Times New Roman"><span> </span>File "test_detector.py", line 9, in <module></font></font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3"><font face="Times New Roman"><span> </span>from tables import *</font></font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3"><font face="Times New Roman"><span> </span>File "/usr/lib/python2.6/dist-packages/tables/__init__.py", line 76, in <module></font></font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3"><font face="Times New Roman"><span> </span>from tables.file import File, openFile, copyFile</font></font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3"><font face="Times New Roman"><span> </span>File "/usr/lib/python2.6/dist-packages/tables/file.py", line 44, in <module></font></font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3"><font face="Times New Roman"><span> </span>from tables import hdf5Extension</font></font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3"><font face="Times New Roman"><span> </span>File "hdf5Extension.pyx", line 11, in hdf5Extension</font></font></p>
<p style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3" face="Times New Roman">ImportError: No module named utilsExtension</font></p>
<div style="margin:0cm 0cm 0pt" class="MsoNormal"><font size="3" face="Times New Roman">I downloaded the .</font></div>
<div> </div>
<div>I sincerely hope you could give me some advice to solve the problem.<br clear="all"><br>-- <br>Best regards,<br>HAN Tingting<br><br>ETSI de Telecomunicación - office C-203-1<br>Dpto. Ingeniería Electrónica<br>Ciudad Universitaria s/n<br>
Madrid 28040, Spain<br>TEL: +34 65 232 4340<br><br></div>
<br>--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
<br></blockquote></div><br>