Closed Ileriayo closed 3 years ago
Update the requirements.txt
to use any Flask version < 2...
E.g add Flask==1.1.4
to the top of the requirements.txt
file
Then run pip install -r requirements.txt
to install updated dependencies.
Worked fine, thanks Victor!
Created a Issue to fix that, thanks @sorXCode @Ileriayo !
Describe the bug I get a "ModuleNotFoundError: No module named 'flask._compat'" when I try to run a new pyms app.
To Reproduce Steps to reproduce the behavior: (Simply follow the documentation)
Scaffold a new app with 'pyms startproject' and choose the default options.
Navigate into the new project and install dependencies using virtualenv
Run server
Expected behavior The app should not throw any error and be accessible on http://127.0.0.1:5000/[APPLICATION_ROOT]/
Screenshots
Desktop (please complete the following information):