<br><br>
<div class="gmail_quote">2010/4/27 Tingting HAN <span dir="ltr"><<a href="mailto:hihighsky@gmail.com">hihighsky@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="gmail_quote">I did as you say:</div>
<div class="gmail_quote"><a href="mailto:hantingting@tityro:~/Downloads$" target="_blank">hantingting@tityro:~/Downloads$</a> ls<br>hdfview_install_linux32.bin  PythonPyTables  triMC3D  triMC3D_v1.0.0.tar.gz<br><a href="mailto:hantingting@tityro:~/Downloads$" target="_blank">hantingting@tityro:~/Downloads$</a> md5sum triMC3D_v1.0.0.tar.gz > triMC3D.md5<br>
<a href="mailto:hantingting@tityro:~/Downloads$" target="_blank">hantingting@tityro:~/Downloads$</a> ls<br>hdfview_install_linux32.bin  triMC3D      triMC3D_v1.0.0.tar.gz<br>PythonPyTables               triMC3D.md5<br><a href="mailto:hantingting@tityro:~/Downloads$" target="_blank">hantingting@tityro:~/Downloads$</a> md5sum -c triMC3D.md5<br>
triMC3D_v1.0.0.tar.gz: OK<br><a href="mailto:hantingting@tityro:~/Downloads$" target="_blank">hantingting@tityro:~/Downloads$</a> tar zxvf triMC3D_v1.0.0.tar.gz<br></div>
<div class="gmail_quote"></div></blockquote>
<div> </div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="gmail_quote">So as it shows OK, the package is not corrupt. I extracted it and ran the .py files again, but there is still the same error as before:</div></blockquote>
<div> </div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="gmail_quote"><a href="mailto:hantingting@tityro:~/Downloads/triMC3D-1.0.0/python$" target="_blank">hantingting@tityro:~/Downloads/triMC3D-1.0.0/python$</a> python </div></blockquote>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="gmail_quote">gentest_empty.py 
<div class="im"><br>Traceback (most recent call last):<br></div>  File "gentest_empty.py", line 8, in <module> 
<div class="im"><br>    from tables import *<br>  File "/usr/lib/python2.6/dist-packages/tables/__init__.py", line 76, in <module><br>    from tables.file import File, openFile, copyFile<br>  File "/usr/lib/python2.6/dist-packages/tables/file.py", line 44, in <module><br>
    from tables import hdf5Extension<br>  File "hdf5Extension.pyx", line 11, in hdf5Extension<br>ImportError: No module named utilsExtension<br></div></div>
<div class="gmail_quote"></div></blockquote>
<div> </div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="gmail_quote">I attach two .py files from the downloaded package in this email. Could you please try running them and see what is the problem?</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">2010/4/26 alex goretoy <span dir="ltr"><<a href="mailto:agoretoy@gmail.com" target="_blank">agoretoy@gmail.com</a>></span> 
<div>
<div></div>
<div class="h5"><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">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" target="_blank">http://launchpad.net/~a1g</a><br><br><br>
<div class="gmail_quote">
<div>
<div></div>
<div>On Mon, Apr 26, 2010 at 11:05 AM, Tingting HAN <span dir="ltr"><<a href="mailto:hihighsky@gmail.com" target="_blank">hihighsky@gmail.com</a>></span> wrote:<br></div></div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div>
<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></div></div>--<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></blockquote></div></div></div>
<div>
<div></div>
<div class="h5"><br><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>
</div></div>Department of Photoelectric Information Engineering<br>Zhejiang University<br>Hangzhou 310027, P. R.China<br><br></blockquote></div><br><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>Department of Photoelectric Information Engineering<br>Zhejiang University<br>Hangzhou 310027, P. R.China<br><br>