SympyTeX icon indicating copy to clipboard operation
SympyTeX copied to clipboard

python 3 confusion

Open torwag opened this issue 10 years ago • 2 comments

Hi,

since arch linux is using python 3 as default for some time now. I was wondering if it would be a) possible to run this within python3 as well? b) make a header into the .simpy file to indicate explicitly that it has to run under python2 c) update the docs to make it clear to people which python version they should use.

Thanks for the great work and keep it up, it is really useful.

torwag avatar Dec 03 '14 17:12 torwag

Hi There.

  1. I think I have it going under python3 (on Debian jessie). Did a commit on Oct14 to make sure that python 3 will work. I will double check this

  2. Hope that this isn't going to be necessary

  3. Will do -- once I've resolved the python3 issues. There might be dependencies that need to be checked on other versions of Linux.

Kind Regards

Tim

tmolteno avatar Dec 04 '14 20:12 tmolteno

Just curious of the status of Python3 support here. It tried and got an error, but I'm not sure if this is a problem with sympytex or my distro's version of sympytex.

$ python3 try1.sympy Traceback (most recent call last): File "try1.sympy", line 4, in import sympytex File "/usr/share/texlive/texmf-dist/scripts/sympytexpackage/sympytex.py", line 48, in from string import strip ImportError: cannot import name 'strip'

PorcelainMouse avatar Oct 30 '17 18:10 PorcelainMouse