[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#737376: texlive-extra-utils: Debian pythontex can\'t use python3



On Sun, Feb 02, 2014 at 04:42:19PM -0600, Geoffrey Poore wrote:
> I am the author of PythonTeX, and just saw this bug report for Debian. 
> `pythontex.py` is intended to use the default Python (`env python`).  It detects
> the Python version and imports `pythontex2.py` or `pythontex3.py`, depending on
> the version.  However, `pythontex2.py` and `pythontex3.py` are meant to be run
> directly when a particular version of Python (other than the default) is
> needed.  So I could modify these to have `env python2` and `env python3`.  That
> might give you most of what you need (except for a symlink to `pythontex3.py`),
> and that's probably the way it should be anyway.
> 
> Geoff Poore

Hi Geoff!

Thanks for this.  PythonTeX (which I've just read about, as I said),
looks fantastic!

This does sound like a good solution.  I do think that it would be
good to have version-specific links in /usr/bin, at least in Debian
which currently offers /usr/bin/python -> python2.7 and
/usr/bin/python3 -> python3.x; that way, one can be explicit about
which version of python one wishes to use in the LaTeX sources.

Best wishes,

   Julian


Reply to: