Re: about python3 and lyx

2014-11-27 Thread Fabio Fiorelli

Steve
Actually both of those (just installed Anaconda yesterday for somebody) 
had for at least an year a Python 3 version. I would not say that there 
is no need felt to move over to Python 3, there's rather _resistance_ to 
moving over due to manifold retro-compatibility issues in many packages 
(which however have mostly been adapted by now). And LyX is no different.

On 11/26/2014 06:12 PM, Steve Burnham wrote:



On Nov 26, 2014 10:42 AM, "José Matos" > wrote:

>
> On Wednesday 08 October 2014 09:22:08 Alex Vergara Gil wrote:
> > My questions are exclusive (or not)
> >
> > 1.   Is there a plan to move everything to python3 so we can 
finally

> > forget the old python2?
>
>   There is consensus to go that way but we are not there yet. We 
need to identify which parts of the code are python2 specific and at 
least have the code supporting both versions of python.

>
> Any help is welcome. :-)
>
> > Or
> >
> > 2.   Is there a way to have both python3 and bundled python 
version in

> > lyx living together in windows? Any hints?
> >
> > Best Regards
>
> Regards,
> --
> José Abílio

Is there any real pressing need to move over to Python 3? I'm a pretty 
heavy python user and it just doesn't seem like the scientific 
community in general cares about it. I've actually never met anyone 
who runs anything in 3.  Two of the major python package managers 
(anaconda and canopy) either default to 2 or don't even support 3.


-Steve



--

*Fabio Fiorelli* (MEng Chemical Engineering)
PhD Candidate
University of Cambridge
Department of Chemical Engineering and Biotechnology
Pembroke Street, Cambridge CB2 3RA, UK


Re: about python3 and lyx

2014-11-26 Thread Steve Burnham
On Nov 26, 2014 10:42 AM, "José Matos"  wrote:
>
> On Wednesday 08 October 2014 09:22:08 Alex Vergara Gil wrote:
> > My questions are exclusive (or not)
> >
> > 1.   Is there a plan to move everything to python3 so we can finally
> > forget the old python2?
>
>   There is consensus to go that way but we are not there yet. We need to
identify which parts of the code are python2 specific and at least have the
code supporting both versions of python.
>
> Any help is welcome. :-)
>
> > Or
> >
> > 2.   Is there a way to have both python3 and bundled python version
in
> > lyx living together in windows? Any hints?
> >
> > Best Regards
>
> Regards,
> --
> José Abílio

Is there any real pressing need to move over to Python 3? I'm a pretty
heavy python user and it just doesn't seem like the scientific community in
general cares about it. I've actually never met anyone who runs anything in
3.  Two of the major python package managers (anaconda and canopy) either
default to 2 or don't even support 3.

-Steve


Re: about python3 and lyx

2014-11-26 Thread José Matos
On Wednesday 08 October 2014 09:22:08 Alex Vergara Gil wrote:
> My questions are exclusive (or not)
> 
> 1.   Is there a plan to move everything to python3 so we can finally
> forget the old python2?

  There is consensus to go that way but we are not there yet. We need to 
identify which parts of the code are python2 specific and at least have the 
code supporting both versions of python.

Any help is welcome. :-)

> Or
> 
> 2.   Is there a way to have both python3 and bundled python version in
> lyx living together in windows? Any hints?
> 
> Best Regards

Regards,
-- 
José Abílio


about python3 and lyx

2014-10-08 Thread Alex Vergara Gil
Hi lyxers!

 

I have lyx 2.1.2 in both Windows 7 x64 and Ubuntu 14.04 x64, it runs fine
when installing. Now my work depends a lot on python, specifically on python
3.4 which is the default in both of my systems. I have managed to run python
scripts within lyx and then the problem arises: lyx have its own bundled
python distribution in windows, so every python script runs in the bundled
version which is python 2.7, so my scripts doesn´t run on windows. I tried
to change the default python version in lyx so it is forced to us python3
and then it crashed because a lot of its default scripts doesn´t run anymore
(ie, the reconfigure.py script). I know in linux there is both python 2.7
and 3.4 living together and you can select between them, but in windows I
can´t manage to achieve this behavior.

 

My questions are exclusive (or not)

 

1.   Is there a plan to move everything to python3 so we can finally
forget the old python2?

Or

2.   Is there a way to have both python3 and bundled python version in
lyx living together in windows? Any hints?

 

Best Regards

 

Descripción: firma_Alex

Alex Vergara Gil

MSc Nuclear Physics

Center for Radiation Protection and Hygiene

Secondary Standard Dosimetry Laboratory

Havana, Cuba