Last Updated: November 30, 2016
·
26.76K
· altryne

Reset your virtualenv to make sure your requirements.txt is updated

When your working with python and virtualenv, and multiple branches, sometimes your Virtualenv gets cluttered.

To make sure that you have only the packages from requirenments.txt, refresh the virtualenv with the following snippet

virtualenv --clear venv

And then install the requirements.txt again

1 Response
Add your response

over 1 year ago ·