Subject: mailing-list for TeXmacs Users
List archive
From : Darcy Shen <address@hidden>- To: Alexandre Danescu <address@hidden>, TeXmacs Users List <address@hidden>
- Subject: Re: Python plugin
- Date: Mon, 27 Jul 2020 23:20:33 +0800
- Arc-authentication-results: i=1; mx.zoho.com.cn; spf=pass smtp.mailfrom=address@hidden; dmarc=pass header.from=<address@hidden> header.from=<address@hidden>
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com.cn; s=zohoarc; t=1595863234; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=2Xsbrk3fvGaxdfPVoedu7275/Zz9fy0DZP5HQX4UVVE=; b=oZjKCMH1lUufHziq0OPtYMtHecZPGIZbG6flljLVQ5qBQVQg11TMIGEvV6ExJ1A90tMZeWBuEvEnVXm3jUuEbjLtZucMBOEjgBNIFNftAF/B4ahH8Z0g0L9DitLNF5ianqm0dkV1u3hJ0nBabkTx1sOt8tsvImnuvnHmjCjVecw=
- Arc-seal: i=1; a=rsa-sha256; t=1595863234; cv=none; d=zoho.com.cn; s=zohoarc; b=hxP1blQjrYvMOeswkK08/VvVRbpN6p1gi1Wv5Rx6fYInVap2xvcZA4j5YL5gUeB9gf80z6f0gI8cDv6KEdzvJW791trNMGqvWyh8F9u1VnLjktcVdlo19v0b0PWdpndAMx6U4RPG6nC4n8rkKcNktTiachs3ln0owlbf7wjD+S0=
It should work fine.
And for GNU TeXmacs 1.99.13, I switched the default python version to Python 3.
For people who does not have any programming experience, just install GNU TeXmacs and install Python 3.8 from the Windows 10 store. And it will work fine. You do not have to set the PATH for variable for Python.
For people who are using Anaconda, I suggest that you should learn about how anaconda works. You may learn about the path to real python executable when you launch a Python script in a specific conda env.
If you have installed GNU TeXmacs 1.99.13, and it does not work properly. Please carefully read:
https://github.com/texmacs/python#change-the-python-interpreter
If you want to stick to GNU TeXmacs 1.99.12 and have learned Python seriously, it would not a big problem for you to switch to a specific version of the Python plugin. Here is the clues (in init-python.scm):
(define (python-launcher)
(if (url-exists? "$TEXMACS_HOME_PATH/plugins/tmpy")
(string-append (python-command) " \""
(getenv "TEXMACS_HOME_PATH")
"/plugins/tmpy/session/tm_python.py\"")
(string-append (python-command) " \""
(getenv "TEXMACS_PATH")
"/plugins/tmpy/session/tm_python.py\"")))
On 2020/5/29 下午11:58, Alexandre Danescu wrote:
Dear Texmacs users,
When updating from v.1.99.5 to the latest 1.99.12 version on Windows 10, the Python plugin doesn't work...
I have both Python 2.7 and Pyhton 3 (Anaconda distribution) working fine on my laptop.
Is this a known issue ?
Is the older 1.99.5 version still available somewhere ?
Thank you,
Alexandre
- Re: Python plugin, Darcy Shen, 07/27/2020
Archive powered by MHonArc 2.6.19.