Andrey,

I deduce you're referring to windows?  I think this is what you get when
python gets installed in C:\Program Files\python or some other location
that is not on the (hardcoded?) search path of pymol, which means it
can't find the tcltk libraries.  The solution is to install python on
C:\python, and everything is hunky-dory -- I think you don't even have
to reinstall pymol, but you can check that, it doesn't take long. 

Good luck
phx.



-----Original Message-----
From:   Andrey Khavryuchenko
Sent:   Thu 11/8/2001 9:06 AM
To:     pymol-users@lists.sourceforge.net
Cc:     
Subject:        [PyMOL] pymol sys.argv, winnt, barks

Hi!

Is it only me who gets the following:

for i in argv:
    print i

[...]

$ pymol -c mov.py
[...]
 Hit ESC anytime to toggle between text and graphics.

 Command mode. No graphics front end.
Traceback (most recent call last):
  File "C:\Program Files\DeLano
Scientific\PyMOL/modules\pymol\parser.py", lin
e 174, in parse
    execfile(args[nest][0],pymol_names,pymol_names)
  File "mov.py", line 90, in ?
    for i in sys.argv:
AttributeError: 'sys' module has no attribute 'argv'
 Memory: 0 blocks expected, 0 found, 42 maximum allocated.

Linux version and plain python under winnt are ok.  It's only pymol that
gives that strange behaviour.

-- 
Andrey V Khavryuchenko          http://www.kds.com.ua/
Offshore Software Development

_______________________________________________
PyMOL-users mailing list
PyMOL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pymol-users



<<winmail.dat>>

Reply via email to