DEV Community

ABUL HASAN A
ABUL HASAN A

Posted on

TASK 10

1) cd path/to/your/project
pip freeze > requirements.txt
Flask==2.0.1
Jinja2==3.0.1
MarkupSafe==2.0.1
Werkzeug==2.0.1
click==8.0.1
itsdangerous==2.0.1
pip install -r requirements.txt
2) To install the Flask module version less than 2.0 using pip in Python, you can specify the version you want by appending it with == followed by the version number. Here's the command:
pip install Flask<2.0
This command will install the latest version of Flask that is less than 2.0. If you want to install a specific version, you can replace <2.0 with the desired version number, for example:
pip install Flask==1.1.4
This will install Flask version 1.1.4 specifically.

Top comments (0)