Subject: mailing-list for TeXmacs Users
List archive
From : marc lalaude-labayle <address@hidden>- To: Julien Frontisi <address@hidden>
- Cc: texmacs-users <address@hidden>
- Subject: Re: [TeXmacs] python sympy module (resolved)
- Date: Sun, 29 Jun 2014 21:12:14 +0200
Hi,
indeed, what could i change in the python plugin for texmacs launching the last python version on my computer ? I am under ubuntu and needs python 2.7 for the system but uses python 3.2 or 3.3 for my work.ML
2014-06-29 19:33 GMT+02:00 Julien Frontisi <address@hidden>:
Sorry for all the fuss.I'll explain what happened in case it might help someone.
There are at least two versions of python on my computer :- one bundled by Apple with the OS, accessed from the terminal by calling '/usr/bin/python' and used by texmacs- another one, more recent, called from the terminal with just 'python'I was trying to install sympy but it did not work with texmacs because I installed it withthe commandpython setup.py installinstead of using/usr/bin/python setup.py installThe second command makes sympy work with texmacs now.Of course it would be nice to be able to choose which version of python texmacs uses.ByeJulienLe 29 juin 2014 à 13:07, Julien Frontisi <address@hidden> a écrit :Hi again,the previous attempts were made on my desktop with mac os 10.9.on my laptop with mac os 10.7, the python plugin shows python version number 2.7.1which is the python installed by Apple in /System. I don't think I can change this python nor add any new module to it.How can I force the python plugin in texmacs to use the /Library one, as the terminal does ?And how can I make it use the new modules ?ThanksJulienLe 29 juin 2014 à 10:43, Julien Frontisi <address@hidden> a écrit :Hi,I'm using the python plugin in mac os texmacs app but cannot import sympy module.Some other modules like numpy, for example, work fine but importing sympy just gives :> Traceback (most recent call last):> ImportError: No module named sympyOn the other hand, using python on the terminal (without texmacs) works fine.Maybe texmacs plugin uses a different python installation from the one the terminal is using.The latter is /Library/Frameworks/Python.framework/Versions/2.7/bin/pythonand there is another one in /System/Library/Frameworks/but I don't know how to check which one texmacs is using.Has anyone got sympy module working in python plugin ?ThanksJulien
- [TeXmacs] python sympy module, Julien Frontisi, 06/29/2014
- Re: [TeXmacs] python sympy module, Julien Frontisi, 06/29/2014
- Re: [TeXmacs] python sympy module (resolved), Julien Frontisi, 06/29/2014
- Re: [TeXmacs] python sympy module (resolved), marc lalaude-labayle, 06/29/2014
- Re: [TeXmacs] python sympy module (resolved), François Poulain, 06/30/2014
- Re: [TeXmacs] python sympy module (resolved), marc lalaude-labayle, 06/29/2014
- Re: [TeXmacs] python sympy module, Miguel de Benito Delgado, 06/30/2014
- Re: [TeXmacs] python sympy module, marc lalaude-labayle, 06/30/2014
- Re: [TeXmacs] python sympy module, Julien Frontisi, 06/30/2014
- Re: [TeXmacs] python sympy module (resolved), Julien Frontisi, 06/29/2014
- Re: [TeXmacs] python sympy module, Julien Frontisi, 06/29/2014
Archive powered by MHonArc 2.6.19.