Manage virtualenv in python 2.7 container

I’m not sure if this is the correct solution or not, but it seems to be working for me at the moment.

- run:
      name: install dependencies
      command: |
        mkdir -p ./venv
        virtualenv ./venv
        . venv/bin/activate
        pip install -r requirements.txt
1 Like