[ase-users] New stable release: ASE-3.10
Jens Jørgen Mortensen
jensj at fysik.dtu.dk
Wed Mar 23 07:37:57 CET 2016
Den 22-03-2016 kl. 14:55 skrev Łukasz Mentel:
> Thanks for the feedback.
>
> > The ase-gui script has "#!/usr/bin/env python" at the top, so it
> will use Python 2, which works with pygtk, so you should be able to
> use 3 for scripts and 2 for ase-gui.
>
> I think this might not work as expected since it would require the
> /usr/bin/env/python2 interpreter to have ase installed since in the
> ase-gui script there are also imports
> from ase that won't be satisfied if ase is only installed with python3
> version. So it means I would have to install ase twice, once for
> python2 and once for python3 and
> use python3 for scripting and python2 for ase-gui which is a bit
> cumbersome. Or maybe I'm missing something?
If you an ASE folder as the first thing in your $PYTHONPATH, then that
code can be used for both 2 and 3.
Jens Jørgen
>
> I think the way to go is switch to pygobject for python3 as in the
> issue already created https://gitlab.com/ase/ase/issues/13.
>
> Cheers,
> Lukasz
>
>
>
>
> _______________________________________________
> ase-users mailing list
> ase-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20160323/a9eb7cf3/attachment.html>
More information about the ase-users
mailing list