2 ms·
> - Use pip freeze > requirements.txt as a "lockfile". This is not and has never ever been correct. It makes it infinitely harder to install an application vs
by Starlevel001 5y ago
> - Use pip freeze > requirements.txt as a "lockfile".
This is not and has never ever been correct. It makes it infinitely harder to install an application vs the standard `pip install -e .` which works on every package manager and avoids PYTHONPATH issues, as well as being able to publish your application to PyPI for easy installation (as simple as pip install --user app or pipx install app).