How to convert requirements.txt file to environment.yml

Viewed 14

I have a requirements.txt file which is updated with pip freeze. I want to transfer all this information to conda environment and for this reason I need .yml file. Is there any good way to convert the txt file to yml?

This is pretty much how my txt file looks (just some of the libs)

alembic==1.8.1
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
astor==0.8.1
asttokens==2.0.5
attrdict==2.0.1
attrs==22.1.0
0 Answers
Related