0

Is there a way to automatically get all necessary requirements in python code? I want to write a requirements.txt but what conda env gives are too many.

H.Li
  • 171
  • 2
  • 12
  • Please define "too many"! – Klaus D. Dec 19 '18 at 04:11
  • @KlausD. During the development of the project, I would install some packages in my current **conda env**. Later i found they were totally useless, but **conda env export > environment.yml** donot know that. Therefore, I need to manually select the ones I really need or i write the env file myself. – H.Li Dec 19 '18 at 04:55
  • Please check this question. It would help.https://stackoverflow.com/questions/30363976/how-should-i-generate-requirements-txt-pip-freeze-not-a-good-way – gopiariv Dec 19 '18 at 04:56

0 Answers0