I am trying to export my dependencies to a requirements.txt
or environment.yml
file for pip
or conda
respectively - in order to host a Binder notebook.
How can I get only the dependencies that my notebook is using?
When I tried pip freeze
or conda env export
, I get all my installed packages, which leads to errors when building the Docker environment.