Skip to content

Instantly share code, notes, and snippets.

View jkleinekorte's full-sized avatar

Johanna Kleinekorte jkleinekorte

View GitHub Profile
@gwerbin
gwerbin / conda_env_export.py
Last active March 6, 2024 06:23
Export a Conda environment with --from-history, but also append Pip-installed dependencies
"""
Export a Conda environment with --from-history, but also append
Pip-installed dependencies
Exports only manually-installed dependencies, excluding build versions, but
including Pip-installed dependencies.
Lots of issues requesting this functionality in the Conda issue tracker,
e.g. https://github.com/conda/conda/issues/9628