You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.addons", line 41, in loadAddons
File "c:\pyi\iu.py", line 436, in importHook
File "c:\pyi\iu.py", line 521, in doimport
File "C:\Users\Piotrek\Documents\Anki\addons\Syntax Highlighting for Code.py", line 2, in
import code_highlight_addon.code_highlight_addon
File "c:\pyi\iu.py", line 436, in importHook
File "c:\pyi\iu.py", line 521, in doimport
File "C:\Users\Piotrek\Documents\Anki\addons\code_highlight_addon\code_highlight_addon.py", line 221, in
from pygments import highlight
File "c:\pyi\iu.py", line 455, in importHook
ImportError: No module named pygments
It is caused by location of folder with pygments library. In my installation it's C:\Users\Piotrek\Documents\Anki\addons\code_highlight_addon\libs\pygments. Moving this folder one level up (C:\Users\Piotrek\Documents\Anki\addons\code_highlight_addon\pygments) does the job. Can you modify it's location by default?
The text was updated successfully, but these errors were encountered:
Hello,
after installation I receive this error info:
An error occurred in an add-on.
Please post on the add-on forum:
https://anki.tenderapp.com/discussions/add-ons
Traceback (most recent call last):
File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.addons", line 41, in loadAddons
File "c:\pyi\iu.py", line 436, in importHook
File "c:\pyi\iu.py", line 521, in doimport
File "C:\Users\Piotrek\Documents\Anki\addons\Syntax Highlighting for Code.py", line 2, in
import code_highlight_addon.code_highlight_addon
File "c:\pyi\iu.py", line 436, in importHook
File "c:\pyi\iu.py", line 521, in doimport
File "C:\Users\Piotrek\Documents\Anki\addons\code_highlight_addon\code_highlight_addon.py", line 221, in
from pygments import highlight
File "c:\pyi\iu.py", line 455, in importHook
ImportError: No module named pygments
It is caused by location of folder with pygments library. In my installation it's C:\Users\Piotrek\Documents\Anki\addons\code_highlight_addon\libs\pygments. Moving this folder one level up (C:\Users\Piotrek\Documents\Anki\addons\code_highlight_addon\pygments) does the job. Can you modify it's location by default?
The text was updated successfully, but these errors were encountered: