running .py files on Linux

2010-05-06 Thread Tingting HAN
Dear Officer, I want to run two .py files to generate .h5 files. hantingt...@tityro:~$ python2.5 Python 2.5.4 (r254:67916, Jan 20 2010, 21:43:02) [GCC 4.4.1] on linux2 Type help, copyright, credits or license for more information. When ruuning gentest_sphere.py, the problem is as following:

Re: running .py files on Linux

2010-05-06 Thread Laszlo Nagy
Tingting HAN írta: Dear Officer, I want to run two .py files to generate .h5 files. hantingt...@tityro:~$ mailto:hantingt...@tityro:%7E$ python2.5 Python 2.5.4 (r254:67916, Jan 20 2010, 21:43:02) [GCC 4.4.1] on linux2 Type help, copyright, credits or license for more information. When ruuning

Re: running .py files on Linux

2010-04-27 Thread Tingting HAN
2010/4/27 Tingting HAN hihigh...@gmail.com I did as you say: hantingt...@tityro:~/Downloads$ ls hdfview_install_linux32.bin PythonPyTables triMC3D triMC3D_v1.0.0.tar.gz hantingt...@tityro:~/Downloads$ md5sum triMC3D_v1.0.0.tar.gz triMC3D.md5 hantingt...@tityro:~/Downloads$ ls

Re: running .py files on Linux

2010-04-27 Thread Chris Rebert
On Tue, Apr 27, 2010 at 3:54 AM, Tingting HAN hihigh...@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

Re: running .py files on Linux

2010-04-27 Thread Tingting HAN
I apologize that I am new to Linux. I find this in my computer: /usr/lib/python2.6/dist-packages/tables$ How should I know which version of PyTables has been installed? What is the command? Which version should I download to solve the problem? And could you please give me the website link to

Re: running .py files on Linux

2010-04-27 Thread Chris Rebert
2010/4/27 Chris Rebert c...@rebertia.com On Tue, Apr 27, 2010 at 3:54 AM, Tingting HAN hihigh...@gmail.com wrote: snip gentest_empty.py Traceback (most recent call last):   File gentest_empty.py, line 8, in module     from tables import *   File

Re: running .py files on Linux

2010-04-27 Thread Tingting HAN
Well, another person in our lab solved it by using the command: python2.5 configuration.py I do not know exactly why python2.6 in my computer does not work. The code packet I dowloaded was was made in 2007, so maybe old versions of python should work. 2010/4/27 Chris Rebert creb...@ucsd.edu

Re: running .py files on Linux

2010-04-27 Thread Chris Rebert
2010/4/27 Chris Rebert creb...@ucsd.edu 2010/4/27 Chris Rebert c...@rebertia.com On Tue, Apr 27, 2010 at 3:54 AM, Tingting HAN hihigh...@gmail.com wrote: snip gentest_empty.py Traceback (most recent call last):   File gentest_empty.py, line 8, in module     from tables import

running .py files on Linux

2010-04-26 Thread Tingting HAN
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: hantingt...@tityro:~/Downloads/triMC3D/python$ python Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55) [GCC

Re: running .py files on Linux

2010-04-26 Thread alex goretoy
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 hihigh...@gmail.com wrote: Dear Officer, I downloaded a C code packet