Error using pelican-quickstart “No module named html_parser”

前端 未结 5 1673
后悔当初
后悔当初 2021-02-07 14:49

I decided to give pelican a try, but when I run pelican-quickstart, I get the following dialog:

$ pelican-quickstart
Traceback (most re         


        
5条回答
  •  梦谈多话
    2021-02-07 15:11

    This error seems to come from Python 2.7.6 on OSX. When I install python via Homebrew and reinstall this module I got rid of this error.

    $ pip uninstall pelican
    $ brew install python
    $ which python # should show /usr/local/bin/python
    $ python -V # should show Python 2.7.8
    $ pip install pelican
    

提交回复
热议问题