Skip to content
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

Frontend not working #31

Open
barosss opened this issue Aug 20, 2022 · 1 comment
Open

Frontend not working #31

barosss opened this issue Aug 20, 2022 · 1 comment

Comments

@barosss
Copy link

barosss commented Aug 20, 2022

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)

@H5SH
Copy link

H5SH commented Feb 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants