Active the virtual environment source blockchain-env/bin/activate Install all packages pip3 install -r requirements.txt Run the test Make sure to activate the virtual environment. python3 -m pytest backend/tests