how do you sync virtual environments python code example
Example: how to sync up python virtual environment
# start your source virtual environment
dataengineer_pipeline/bin/activate
# in the source virtual environment get list of dependencies
pip freeze > requirements.txt
# exit out of the source virtual environment
deactivate
# activate your team member's virtual environment
dataengineer2_pipeline/bin/activate
# in the virtual environment bring in the requirements doc generated previously
pip install -r requirements.txt