mailing-list for TeXmacs Users

Text archives Help


Re: pb to insert a python session


Chronological Thread 
  • From: Giovanni Piredda <address@hidden>
  • To: address@hidden
  • Subject: Re: pb to insert a python session
  • Date: Wed, 14 Sep 2022 07:04:08 +0000


On 14.09.22 08:37, Alexandre Letortu wrote:
Thank you for your answer.
I tried the command echo $TEXMACS_PATH in the shell  as you suggested but nothing happens.
I don't master the shell so I don't know if it is normal or not.

I also don't because it might depend on how the shell works on the Mac and I do not know that. But it is worth trying a different thing.


In a shell, do


export TEXMACS_PATH=path-to-your-installation-directory

(you have to figure out what to substitute for path-to-your-installation-directory, maybe a TeXmacs user on the mac here on the mailing list can help you?)


and then from the same shell go to the directory of the TeXmacs executable and execute

./texmacs

You should get a TeXmacs which can run Python.

Pls. let me know.




Le mar. 13 sept. 2022 à 21:05, Giovanni Piredda <address@hidden> a écrit :

Let me try with a possible hint and the hope that someone else will
follow up :-)

To me it looks as if your TEXMACS_PATH is set to a directory that
should
be TEXMACS_HOME_PATH

If it is that, I do not know how to fix it because the paths as
far as I
understand should be automatically correct. To check: if you can
start a
shell session, you could issue the command echo $TEXMACS_PATH
there. If
the answer is /Users/alexandre/.TeXmacs, then that should be
corrected
(and I hope someone would tell you how).


Giovanni


On 13.09.22 20:16, address@hidden wrote:
> Hello
> I have  installed Texmax on my Mac .
> I can't insert a Python session , I have the following message :
> /Library/Developer/CommandLineTools/usr/bin/python3: can't open
file '/Users/
> alexandre/.TeXmacs/plugins/tmpy/session/tm_python.py': [Errno 2]
No such file
> or directory
>
> Could you help me to fix the problem ?
> Thanks in advance
> Alex




Archive powered by MHonArc 2.6.24.

Top of page