I just started using the new beta version of CS50 IDE. I tried to run my final project from last year, but when I run Flask I get the following message:
"DeprecationWarning: 'werkzeug.contrib.cache' is deprecated as of version 0.15 and will be removed in version 1.0. It has moved to https://github.com/pallets/cachelib."
When I run Flask on the older IDE, with the exact same code, everything works fine.
Just FYI, I am importing the following in application.py:
import os import sqlite3 import csv from cs50 import SQL from flask import Flask, flash, redirect, render_template, request, session, send_from_directory, send_file, after_this_request, url_for, Request from flask_session import Session from tempfile import mkdtemp from werkzeug.exceptions import default_exceptions from werkzeug.security import check_password_hash, generate_password_hash from werkzeug.utils import secure_filename
and in helpers.py:
import requests import urllib.parse import ast import csv import os from flask import redirect, render_template, request, session from functools import wraps from cs50 import SQL
I already installed cachelib ("pip install -U cachelib") as suggested from the link in the error message.
Thanks in advance for the help