I do not know exactly how to run these lines via python interpreter? I tried
$ /sw64/bin/python [one line at a time]
resulted with No such file or directory.
On Tue, Apr 19, 2011 at 3:42 PM, Alexander Hansen <
[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 4/19/11 3:18 PM, Yogesh Gupta wrote:
> > First few lines of disp.py:
> >
> > #!/sw64/bin/python2.5
> >
> > from exp_setup import *
> > import matplotlib as mpl
> > import sys
> >
> > if (len(sys.argv) < 2):
> > print "Usage: disp.py file_name_root"
> > exit()
> > else:
> >
> >
> >
> > On Tue, Apr 19, 2011 at 2:55 PM, Alexander Hansen
> > <[email protected] <mailto:[email protected]>>
> wrote:
> >
> > On 4/19/11 1:23 PM, Yogesh Gupta wrote:
> >
> >
> > <snip>
> >
> >
> >
> >> Can we see the full output from an attempt to run your executable?
> >
> >>> This is all i get when i run this disp.py script either with ./
> > or the
> >>> python that is specified on the first line of this script:
> >>> $ ./disp.py lysb_buf-2.90s
> >>> Fatal Python error: Interpreter not initialized (version mismatch?)
> >>> Abort trap
> >
> >
> >
> > OK. We'll probably need to see the first few lines of your disp.py
> > script.
> >
>
> What happens if you just run those lines from the python interpreter
> rather than your script?
>
> - --
> Alexander Hansen, Ph.D.
> Fink User Liaison
> http://finkakh.wordpress.com/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk2t5bQACgkQB8UpO3rKjQ9lTgCgmnoXc4MG08MaGg7fJ3OYj0WV
> W4gAn3+p6a2FR27NN7M2px+VXovs8uyF
> =GN/p
> -----END PGP SIGNATURE-----
>
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users