On Mon, 27 Jun 2016 16:08:28 +0200 Alberto Luaces wrote: > Francesco Poli writes: > > > On Thu, 23 Jun 2016 11:55:38 +0200 Alberto Luaces wrote: > > > >> Francesco Poli writes: > > [...] > >> > I see that you have python3-sympy installed. > >> > > >> > What's the output of > >> > > >> > $ /usr/bin/python --version > >> > > >> > on your system? > >> > >> $ python -V > >> Python 2.7.12rc1 > >> $ python3 -V > >> Python 3.5.2rc1 > > > > Mmmh, then I am under the impression that you should try again after > > installing python-sympy ... > > > > The error persists after re-installation. The problem is that the > shebang line of isympy calls /usr/bin/python regardless if python3-sympy > was installed as its dependency.
Yes, that's why I suggested you to install python-sympy. You can also keep python3-sympy installed, if you like (in case you want to load the sympy module from python3), but isympy is a script designed to be interpreted by /usr/bin/python, which is Python v2.7.x and not v3.x ... I don't know whether there is an elegant way to make isympy automatically figure out whether you would prefer using python or python3. [...] > > $ python3 /usr/bin/isympy > > Thank you. Of course that works, Good, this is an explicit way to express your preference for python3 over python. > but the bug remains: isympy is that > wrapper script :) Maybe another binary package could be added (named isympy3), including an appropriate isympy3 script... At that point isympy would depend on python-sympy (without python3-sympy as an alternative dependency) and isympy3 would depend on python3-sympy. I don't know, I'll let the sympy maintainers think about it and express their opinion. Bye. -- http://www.inventati.org/frx/ There's not a second to spare! To the laboratory! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgprkxvUsr_OG.pgp
Description: PGP signature
-- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers