【发布时间】:2020-02-02 02:39:18
【问题描述】:
当运行 lektor server 部署并查看我的网站时,它报告 markdown 不存在,而它已安装。
/usr/local/lib/lektor/lib/python3.7/site-packages/watchdog/utils/bricks.py:175: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
class OrderedSet(collections.MutableSet):
Traceback (most recent call last):
...
File "/home/nick/swingrock.be/lektor/packages/tipue-content-file-generator/lektor_tipue_content_file_generator.py", line 7, in <module>
import markdown
ModuleNotFoundError: No module named 'markdown'
但是安装了markdown,你可以在这里查看版本
nick@nick-VirtualBox:~/swingrock.be/lektor$ markdown --version
This is Markdown, version 1.0.1.
Copyright 2004 John Gruber
http://daringfireball.net/projects/markdown/
有没有我遗漏的步骤?
【问题讨论】:
标签: python python-3.x markdown lektor