python - ModuleNotFoundError:运行 lektor 服务器时没有名为“markdown”的模块
问题描述
当运行 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/
有没有我遗漏的步骤?
解决方案
推荐阅读
- jasper-reports - 使用 Java Bean 数据源时交叉表数据为空?
- c++ - c++17 std::thread join() : 没有这样的过程
- javascript - Javascript + CSS 动画不起作用,可能是什么原因造成的?
- opencv - 如何“迭代”计算机视觉机器学习模型?
- r - Pivot_Longer 创建多个组合列
- flask - jinja2.exceptions.TemplateSyntaxError:遇到未知标签'url'
- python - 如何使用内部生成的输入实现 Pyaudio 回调
- c# - 循环 2 个特定列并进行计算计数器,输入另一个 datagridview
- node.js - 猫鼬 startSession() 挂起
- flutter - 相机无法在颤动中检测到中等分辨率的人脸