#!/bin/bash -eo pipefail
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
Requirement already satisfied: numpy==1.13.3 in ./venv/lib/python3.6/site-packages (from -r requirements.txt (line 1))
When test runs with python3.6 (not python nor python3)
ImportError: Failed to import test module: test_xxxx
Traceback (most recent call last):
File ...
import websockets
ModuleNotFoundError: No module named 'websockets'