Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip freeze in a conda environment produces unusable requirements.txt #166

Closed
christierney opened this issue Dec 17, 2020 · 2 comments
Closed

Comments

@christierney
Copy link
Collaborator

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 pypa/pip#7612

@mmarchetti
Copy link
Contributor

pip list --format=freeze helps a lot. There are sometimes package versions in conda environments that don't exist for pip, e.g. we saw setuptools=49.6.0.post which is not available on PyPI.

@ekungurov
Copy link

Also do we have any documentation on how to use conda_mode=True ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants