Giter Club home page Giter Club logo

Comments (4)

Aues6uen11Z avatar Aues6uen11Z commented on July 2, 2024

我看网上说这样可能是jinja2版本过高需要降到2.x,但我自己也是3.x版本所以不太清楚。可以pip list看一下吗?

from honkaihelper.

MapleleavesQY avatar MapleleavesQY commented on July 2, 2024

以下是pip list截取的jinja2的部分:

idna 3.3
ixml 0.1.0
Jinja2 3.1.1
kiwisolver 1.3.2
lxml 4.6.2
MarkupSafe 2.1.1
matplotlib 3.5.1
mss 6.1.0
multidict 6.0.2

似乎我的是3.1.1的,我去尝试一下降版本再试试吧

from honkaihelper.

MapleleavesQY avatar MapleleavesQY commented on July 2, 2024

我的问题已经解决,除了将版本更新为2.8以上但3.0以下外(本人使用3.8python版本),有可能还会出现如下报错:
ImportError: cannot import name ‘soft_unicode‘ from ‘markupsafe‘

解决方法也是版本问题:

python -m pip install markupsafe==2.0.1

感谢大佬指点~~我关贴啦~

from honkaihelper.

Aues6uen11Z avatar Aues6uen11Z commented on July 2, 2024

我也没有帮到什么忙(ಥ_ಥ),问题解决了就好。脚本写的比较烂,如果对你有用就太好啦~

from honkaihelper.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.