23 November 2014

Language Select:

pygments is not supporting Python3

To use syntax highlighting on Jekyll, I use pygment Plug-in. I got this error when compiling.

When I’m trying to compile with jekyll serve, it results.

Generating...
  Liquid Exception: Failed to get header. in _posts/xxxxxxxx.md

pygments is written in Python, but Python3 is not supported. (I set Python 3.3.2 as default.)

To fix it, set the default Python only the local directory with pyenv.

pyenv local 2.7.8

is it premature to set Pyththon3 as default??

Reference

【Jekyll】での”Failed to get header.”というエラーの対策



blog comments powered by Disqus

analytics _by_ google