On Fri, Nov 07, 2003 at 01:52:42PM +0000, Tom Walsh wrote:
> 
> Hi,
> 
>  I'm trying to start Pymol (version 0.93) in a Python script,
> using the first method described in __init__.py i.e.:
> 
> import pymol
> 
> pymol.finish_launching()
> 
> I've set the PYTHONPATH and PYMOL_PATH variables as required
> but I get this error message:
> 
> -----
> Traceback (innermost last):
>   File "pymol.py", line 3, in ?
>     import pymol
>   File "pymol.py", line 5, in ?
>     pymol.finish_launching()
> AttributeError: finish_launching
> -----
> 
>  So what am I doing wrong?

It seems like you might have named your python script pymol.py, and
the import pymol statement just tries to import pymol.py instead of
the Pymol package. Try renaming your script to something other than
pymol.py.

-- 
Truls - kerfue+pymol-us...@herocamp.org

Reply via email to