I'm trying to build a static site using Pelican with Git Pages but I got this little problem when execute the command pelican-quickstart
.
Any ideas? I found this on pelican's github but I don't really understand what exactly I must do to fix this issue.
I'm using Python 3.5, Pelican 3.7.0 inside a virtualenv.
For same unknown reason, my file
pelican-quickstart.py
doesn't verify the lenght ofsys.version_info.major
. So I just put these two lines on the code:if (sys.version_info.major >= 2): locale.setlocale(locale.LC_ALL, '')
Just below the line
from pelican import __version__
.This works pretty well for me. The solution comes from this code snippet .