slgobinath / libreoffice-code-highlighter

Code snippet highlighter for LibreOffice Writer, Calc and Impress.
https://extensions.libreoffice.org/extensions/code-highlighter
Other
133 stars 16 forks source link

Support for Windows? #8

Closed JoaoGFarias closed 7 years ago

JoaoGFarias commented 7 years ago

Does this extension support Windows' distribution of LibreOffice?

I having trouble when using the extension, although I have installed the pygments correctly.

image

image

slgobinath commented 7 years ago

Hi, I didn't test it in Windows. Can you make sure that the environment variable PYTHONPATH points to the correct location where the Python packages are installed?

slgobinath commented 7 years ago

Hi, I have tested on Windows and setting PYTHONPATH resolves the problem. Set the environment variable PYTHONPATH like this:

C:\Users\Joao\AppData\Local\Programs\Python\Python36-32\Lib\site-packages
rugk commented 7 years ago

Maybe mention his in the Readme?

slgobinath commented 7 years ago

@rugk fixed with https://github.com/slgobinath/libreoffice-code-highlighter/commit/5f9b34dc61255a59e673bb6d604087c54f22a2c8