Dear jeroen,
I installed the latest tm-pygments according to your instructions given in README.md under OSX 10.13.6. Upon trying to launch a tm-pygments session from within TeXmacs 2.1, I get the following error message:
Traceback (most recent call last):
File "/Users/tilda/.TeXmacs/plugins/pygments/src/tm-pygments.py", line 23, in <module>
from pygments import highlight
ImportError: No module named pygments
Yet pygments is on the system and active as py37-pygments v_2.10.0_0 via MacPorts. Moreover TeXmacs recognizes its port as the default Python, as can be seen from a python-plugin prompt.
Python 3.7.12 [/opt/local/bin/python3]
Python plugin for TeXmacs.
Please see the documentation in Help -> Plugins -> Python
I tried to modify the above mentioned line 23 and change pgyments
into py37-pygments
but this resulted in a syntax-error message.
So, I wonder if you have any idea how I can get tm-pygments running.
Cheers, Tilda