The issue: Liquid Exception: Failed to get header
If you are here, you are probably getting the following error running “jekyll serve”: Liquid Exception: Failed to get header. jekyll 2.4.0 | Error: Failed to get header
Why this error
Python is used by a component of Jekyll (instead of Ruby). This only works with Python 2.7 and your version installed version is probably 3+. So the obvious solution would be to downgrade your Python to 2.7 version (not so elegant, you probably do not want to) or to follow the recommended & verified solution below:
Solution (fix) for error: Liquid Exception: Failed to get header
STEP 1
In your terminal: gem install rouge
STEP 2
In your _config.yml file, right under “Build settings”, add: highlighter: rogue
STEP 3
jekyll serve
again, this time it will work:
demo Mediumish - our most loved WordPress theme
