It is recommended to use a virtual Python environment. Create one as follows:
$ python -m venv env
Activate it and install the dependencies:
$ source env/bin/activate
(env) $ pip install -r requirements.txt
If you want to use the environment, you must activate it:
$ source env/bin/activate
(env) $
For testing, all apps of elementary AppCenter are built.