Once we have the virtual environment setup, we will install flask within that environment.
Go to the CVaaS folder that we created in the last section. Inside the folder, run the following commands:
$: source bin/activate$: pip3 install flask$: pip3 install flask-cors
The first command will activate the virtual environment. Everything that you do going forward will stay within this folder. The next two commands will install flask and flask-cors. To test whether flask was installed properly, run the following commands. If it does not return any errors, the installation was successful:
$: python3 -c 'import flask'$: python3 -c 'from flask_cors import CORS,cross_origin'
We will use flask to build our RESTFUL APIs that will help the client ...