attendance-system icon indicating copy to clipboard operation
attendance-system copied to clipboard

Frontend not working

Open barosss opened this issue 3 years ago • 1 comments

Hi, I am facing below issue while tiring to use the frontend of the application. I really need to make this work for a school project. Can you please help me get the error resolved? Thank you in advance. (attendance-system) PS C:\Users\Cosmin\source\repos\attendance-system\backend> python.exe .\run.py Traceback (most recent call last): File ".\run.py", line 1, in from src.app import app File "C:\Users\Cosmin\source\repos\attendance-system\backend\src\app.py", line 10, in from src.resources.teacher import Teacher, TeacherRegister, TeacherLogin File "C:\Users\Cosmin\source\repos\attendance-system\backend\src\resources\teacher.py", line 3, in from werkzeug.security import safe_str_cmp ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security' (C:\Users\Cosmin\miniconda3\envs\attendance-system\lib\site-packages\werkzeug\security.py)

barosss avatar Aug 20 '22 15:08 barosss

I am probably too late, but for future visitors. They need to update or install Werkzeug. Below command worked for me pip install Werkzeug~=2.0.0

H5SH avatar Feb 21 '24 14:02 H5SH