Pelican is a popular static site generator library in Python. I didn’t know why my pelican blog was not working. I’ve used the “pelican content” command many times for my blog. This time, when attempting to write a new post on a new computer, I was getting this error where none of my posts were visible to Pelican:
WARNING No valid files found in content for the active log.py:91 readers: | BaseReader (static) | HTMLReader (htm, html) | RstReader (rst)
Install the markdown library, which is stated in the pelican docs. This Github issue also provides some background on this warning.
pip install markdown
Now my “pelican content” command works!