Hacker News new | ask | show | jobs
by BryanBeshore 1834 days ago
pip freeze > requirements.txt

When first learning python and virtual environments, it took me a little bit of time to understand that the virtual environment is basically a clean slate.

The command above saved a lot of time. I’d go so far as to having a set of requirements files ready to go for certain types of projects just to get started.

1 comments

Check out pipenv, it really is a lot simpler.