- From: Massimiliano Gubinelli <address@hidden>
- To: Alkis Akritas <address@hidden>
- Cc: address@hidden
- Subject: Re: [TeXmacs] Python environments
- Date: Mon, 3 Dec 2018 20:58:53 +0000
You should modify the first line.
Mine says:
#!/usr/bin/env python
then put there an explicit path to your python extecutable like:
#!/usr/bin/env /blah/blah/blah/python-X.XX
HTH
m
>
On 3. Dec 2018, at 20:17, Alkis Akritas <address@hidden> wrote:
>
>
Thank you for your reply. I found the file you mentioned but I cannot
>
locate the pointer to the python version.
>
>
Best, Alkis
>
>
> 3 Δεκ 2018, 8:38 μμ, ο χρήστης «Massimiliano Gubinelli <address@hidden>»
>
> έγραψε:
>
>
>
> You must have the TeXmacs.app pick the right python. In order to do that
>
> is not sufficient to change the PATH of the shell, since MacOS app get
>
> their environment independently of the shell.
>
>
>
> One suggestion could be to modify the file
>
>
>
> TeXmacs-1.99.8.app/Contents/Resources/share/TeXmacs/plugins/python/bin/tm_python
>
>
>
> (which is the python script which communicates with TeXmacs) to explicitly
>
> point to the version of python you like.
>
>
>
> HTH
>
>
>
> Best
>
> Max
>
>
>
>
>
>> On 3. Dec 2018, at 13:29, Alkis Akritas <address@hidden> wrote:
>
>>
>
>> Hello all,
>
>>
>
>> I have a MacBook Air with High Sierra operating system.
>
>>
>
>> TeXmacs uses python-2.10.14 apparently the built-in version.
>
>>
>
>> Thru miniconda I have created an equivalent environment and installed
>
>> simply.
>
>>
>
>> Is there a way to make Texmacs pick my python environment??
>
>>
>
>> Thank you,
>
>>
>
>> Alkis Akritas
>
>
>
Archive powered by MHonArc 2.6.19.