jincaogg / mdblog

静态博客生成程序
7 stars 2 forks source link

运行python3 bin/blog.py,遇到错误 #1

Open luckypoemster opened 3 weeks ago

luckypoemster commented 3 weeks ago

hi。

root@racknerd-626f077:/usr/local/mdblog-by-jincaogg# python3 bin/blog.py File "/usr/local/mdblog-by-jincaogg/bin/blog.py", line 201 print 'output:',to_file ^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)? root@racknerd-626f077:/usr/local/mdblog-by-jincaogg#

怎么解决?谢谢你

luckypoemster commented 2 weeks ago

哦,用python2即可。