Evening,
I am getting the following error trying to run check on PSet9. I have downloaded a new empty version tested that and get the same error. I'm thinking this is a fault on the CS50 side but if not hoping someone can help.
thanks
:) app.py exists
:| application starts up
check50 ran into an error while running checks!
ModuleNotFoundError: No module named 'cachelib'
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/cs50/problems/finance/__init__.py", line 22, in startup
Finance().get("/").status(200)
^^^^^^^^^
File "/home/ubuntu/.local/share/check50/cs50/problems/finance/__init__.py", line 196, in __init__
super().__init__(self.APP_NAME)
File "/usr/local/lib/python3.12/site-packages/check50/flask.py", line 34, in __init__
mod = internal.import_file(path.stem, path.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/check50/internal.py", line 185, in import_file
spec.loader.exec_module(mod)
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/tmp/tmpd2f3ci07/startup/app.py", line 19, in <module>
Session(app)
File "/usr/local/lib/python3.12/site-packages/flask_session/__init__.py", line 27, in __init__
self.init_app(app)
File "/usr/local/lib/python3.12/site-packages/flask_session/__init__.py", line 41, in init_app
app.session_interface = self._get_interface(app)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask_session/__init__.py", line 133, in _get_interface
from .filesystem import FileSystemSessionInterface
File "/usr/local/lib/python3.12/site-packages/flask_session/filesystem/__init__.py", line 1, in <module>
from .filesystem import FileSystemSession, FileSystemSessionInterface # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask_session/filesystem/filesystem.py", line 5, in <module>
from cachelib.file import FileSystemCache