For a conda client, pip freeze seems to generate a requirements.txt with local file references. see https://rstudioide.zendesk.com/agent/tickets/55886 `pip list --format=freeze > requirements.txt` seems to do the right thing. see also https://github.com/pypa/pip/pull/7612