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

Error creating DB (manage.py create-db) #200

Open
pool2mine opened this issue Jul 21, 2023 · 1 comment
Open

Error creating DB (manage.py create-db) #200

pool2mine opened this issue Jul 21, 2023 · 1 comment

Comments

@pool2mine
Copy link

it has been impossible for me to install this repo, i changed the requirements.txt and it worked, but when i try to create the db, a lot of error comes and if i try to fix one, i'll break another. for example...

ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security' (/usr/local/lib/python3.8/dist-packages/werkzeug/security.py)

looks like after Werkzeug released 2.1.0, they removed werkzeug.security.safe_str_cmp

but if i downgrade it will conflict with flask and jinja2

is there a fix for this?

@imar4ik
Copy link

imar4ik commented Jul 5, 2024

# app requirements
Flask==3.0.3
Flask-Login==0.6.3
Flask-Migrate==2.5.2
Flask-WTF==1.2.1
python-dotenv==0.11.0
SQLAlchemy==1.4.52
WTForms==3.0.0
WTForms-Components==0.10.4
#Werkzeug>=2.2.2
# service
gunicorn
requests
# dev
isort==4.3.21
yapf==0.29.0

to requirements.txt

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