-
Notifications
You must be signed in to change notification settings - Fork 103
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
Import error can't import name 'Markup' from 'jinja2' #83
Comments
somebody help me |
In a closed issue someone proposed a solution ,but now it seems doesn‘t work . ??? |
thanks
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年4月7日(星期四) 下午4:34
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [MannLabs/CKG] Import error can't import name 'Markup' from 'jinja2' (Issue #83)
In a closed issue someone proposed a solution ,but now it seems doesn‘t work . ???
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi, did someone figure out the solution for this problem? |
updating a few python packages fixed this issue for me. Execute |
This can be resolved before building the image by adjusting the following in the requirements.txt: Add: Remove: |
I figured it out, make sure the right version of the enviorment.Jinja2 =3.0.3;werkzeug=2.0.3;pingouin = 0.5.1; pandas=0.24.0
…------------------ 原始邮件 ------------------
发件人: "Rodrigo ***@***.***>;
发送时间: 2022年4月19日(星期二) 凌晨2:31
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [MannLabs/CKG] Import error can't import name 'Markup' from 'jinja2' (Issue #83)
Hi, did someone figure out the solution for this problem?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
What worked for me (applied to the docker image):
|
@Mnikley did you also update Flask before that? |
Sorry for the late response. Unfortunately I cannot make the container work at the moment and I dont have time to recreate everything from scratch. However, maybe this helps you get on your way regarding the specific Flask issue:
to fix it:
and you will get no error. this is the full Python environment my container uses:
|
Hi @albsantosdel
after docker run -d --name ckgapp -p 7474:7474 -p 7687:7687 -p 8090:8090 -p 8050:8050 docker-ckg:latest
cannot import name 'Markup' from 'jinja2' (/usr/local/lib/python3.7/site-packages/jinja2/init.py)
the docker logs
The text was updated successfully, but these errors were encountered: