2015-12-24 83 views
2

我幾天前更新到埃爾卡皮坦,並且,鵜鶘自那以後一直沒有工作。我問了一個關於SO的問題,關於禁用SIP(無根)的想法,認爲這是問題的原因;但對這個問題的答案表示他們並不認爲SIP是重要的。埃爾卡皮坦打破鵜鶘

那麼鵜鶘社區有什麼想法? make devserver得出以下結果:

Last login: Wed Dec 23 22:30:30 on ttys003 
Mischas-MacBook-Pro:~ mischa$ pwd 
/Volumes/Macintosh HD/Home 
Mischas-MacBook-Pro:~ mischa$ cd /Volumes/SSD/users/mischa/Dropbox/website 
Mischas-MacBook-Pro:website mischa$ ls 
Makefile  pelican.pid  srv.pid 
content   pelicanconf.py  subdirectory.txt 
develop_server.sh pelicanconf.pyc  themes 
fabfile.py  publishconf.py 
output   publishconf.pyc 
Mischas-MacBook-Pro:website mischa$ make devserver 
/Users/mischa/Dropbox/website/develop_server.sh restart 
Stale PID, deleting 
Stale PID, deleting 
Starting up Pelican and HTTP server 
/usr/bin/python: No module named html_parser 
Traceback (most recent call last): 
    File "/usr/local/bin/pelican", line 7, in <module> 
    from pelican import main 
    File "/Library/Python/2.7/site-packages/pelican/__init__.py", line 20, in <module> 
    from pelican.generators import (ArticlesGenerator, PagesGenerator, 
    File "/Library/Python/2.7/site-packages/pelican/generators.py", line 22, in <module> 
    from pelican.readers import Readers 
    File "/Library/Python/2.7/site-packages/pelican/readers.py", line 24, in <module> 
    from six.moves.html_parser import HTMLParser 
ImportError: No module named html_parser 
Pelican didn't start. Is the Pelican package installed? 
make: *** [devserver] Error 1 
Mischas-MacBook-Pro:website mischa$ 

我跑的Mac OSX 10.11.2,Python的2.7.10,鵜鶘3.6.3

我嘗試了所有三個解決方案的建議在這裏:Error using pelican-quickstart "No module named html_parser"和到目前爲止沒有運氣。

想法?

+0

你讀過https://github.com/getpelican/pelican/issues/1674了嗎?你使用的是virtualenv嗎?你的代碼看到了哪個版本的'six'? – jonrsharpe

+0

@jonrsharpe嗯,我沒有看到。我確實使用了舊版本的六個1.4.1;我會嘗試在virtualenv中設置所有東西,看看是否能修復它。感謝您的建議! – RickGrimesOfAlexandria

+0

@jonrsharpe安裝了一個虛擬env,似乎沒有修復它,現在運行的是我認爲最新的六個版本。任何其他想法? – RickGrimesOfAlexandria

回答

0

我有同樣的問題,@jonrsharpe的提示有助於解決它。我不得不從virtualenv -p /usr/bin/python3 XXX開始。

相關問題