What are good strategies to take a requirements.txt file or take the result of pip freeze
and convert it to a conda environment file? For example, the ideal end result would be to take the requirements.txt with the pinned pip versions and have conda compatible versions under dependencies
rather than under pip
.
name: myconverted_condaenv
channels:
- conda-forge
dependencies:
<all packages installed via pip>
Also, there are some packages that may not be available in conda that were installed via pip. The endgoal of this question is to understand how to help someone quickly convert their setup to use conda without a lot of manual adjustments.