Flask_table module compatibility issue: cannot import name 'Markup' from 'flask' - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html) +--- Thread: Flask_table module compatibility issue: cannot import name 'Markup' from 'flask' (/thread-41806.html) |
Flask_table module compatibility issue: cannot import name 'Markup' from 'flask' - venkateshbalagiri - Mar-21-2024 Hi Team, We are using flask_table module in one of our python flask application , After upgrade to latest version of flask 3.0.2 then we are getting below error and observed still flask_table=0.5.0 version. Instead of downgrading flask modules, Could we expect upgraded version of flask_table soon ?. Could you please suggest the solution. Error: [Thu Mar 07 04:35:52.553399 2024] [wsgi:error] [pid 3584842:tid 140662083135232] [client 10.21.18.136:56476] from flask_table import Table, Col, LinkCol, DateCol [Thu Mar 07 04:35:52.553405 2024] [wsgi:error] [pid 3584842:tid 140662083135232] [client 10.21.18.136:56476] File "/autohome/www/cgi-bin/Common/flaskenv/lib/python3.8/site-packages/flask_table/__init__.py", line 1, in <module> [Thu Mar 07 04:35:52.553408 2024] [wsgi:error] [pid 3584842:tid 140662083135232] [client 10.21.18.136:56476] from .table import Table, create_table [Thu Mar 07 04:35:52.553411 2024] [wsgi:error] [pid 3584842:tid 140662083135232] [client 10.21.18.136:56476] File "/autohome/www/cgi-bin/Common/flaskenv/lib/python3.8/site-packages/flask_table/table.py", line 5, in <module> [Thu Mar 07 04:35:52.553413 2024] [wsgi:error] [pid 3584842:tid 140662083135232] [client 10.21.18.136:56476] from flask import Markup [Thu Mar 07 04:35:52.553425 2024] [wsgi:error] [pid 3584842:tid 140662083135232] [client 10.21.18.136:56476] ImportError: cannot import name 'Markup' from 'flask' (/autohome/www/cgi-bin/Common/flaskenv/lib/python3.8/site-packages/flask/__init__.py) RE: Flask_table module compatibility issue: cannot import name 'Markup' from 'flask' - venkateshbalagiri - Mar-22-2024 (Mar-21-2024, 11:51 AM)venkateshbalagiri Wrote: Hi Team, |