Added a function to save dependencies from a python venv