Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: __init__() missing 1 required positional argument: 'renderer' #4

Open
Koloz opened this issue Jan 27, 2023 · 1 comment
Open

Comments

@Koloz
Copy link

Koloz commented Jan 27, 2023

[+] 正在导入配置文件... 导入成功
[+] 正在编译CSS样式表... 编译成功
[+] 正在转换example1.md... Traceback (most recent call last):
File "/Users/a/PycharmProjects/maxpress/maxpress.py", line 216, in
convert_all()
File "/Users/a/PycharmProjects/maxpress/maxpress.py", line 176, in convert_all
result = md2html(text, styles,
File "/Users/a/PycharmProjects/maxpress/maxpress.py", line 54, in md2html
md = Markdown()
TypeError: init() missing 1 required positional argument: 'renderer'

@YuFeng128
Copy link

mistune库的版本原因,可以回退到0.7.4。或者自己修改代码

pip install -U mistune==0.7.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants