-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Following the instruction, I have the following compiling error after make compile
. I am not sure which issue is this. Is it related to some python packages? But this error does not seems to affect the output of the pdf. I
Output written on book.pdf (24 pages, 126772 bytes).
Transcript written on book.log.
This is PythonTeX 0.17
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/Users/chentianchi/opt/anaconda3/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/usr/local/texlive/2020/texmf-dist/scripts/pythontex/pythontex3.py", line 2394, in do_pygments
lexer[codetype] = get_lexer_by_name(pygments_settings[codetype]['lexer'], **p)
File "/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pygments/lexers/__init__.py", line 116, in get_lexer_by_name
for cls in find_plugin_lexers():
File "/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pygments/plugin.py", line 55, in find_plugin_lexers
yield entrypoint.load()
File "/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2450, in load
return self.resolve()
File "/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2456, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "<frozen zipimport>", line 259, in load_module
File "/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pygments_julia-0.0.0-py3.8.egg/pygments_julia/__init__.py", line 19, in <module>
from pygments.util import shebang_matches, unirange
ImportError: cannot import name 'unirange' from 'pygments.util' (/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pygments/util.py)
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Library/TeX/texbin/pythontex", line 62, in <module>
pythontex.main()
File "/usr/local/texlive/2020/texmf-dist/scripts/pythontex/pythontex3.py", line 2811, in main
do_multiprocessing(data, temp_data, old_data, engine_dict)
File "/usr/local/texlive/2020/texmf-dist/scripts/pythontex/pythontex3.py", line 1383, in do_multiprocessing
result = task.get()
File "/Users/chentianchi/opt/anaconda3/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
ImportError: cannot import name 'unirange' from 'pygments.util' (/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pygments/util.py)
make: [compile] Error 1 (ignored)
Metadata
Metadata
Assignees
Labels
No labels