How can I list only explicitly installed packages in conda for particular environment? Is there a way to do it?
in terminal, type : conda list to obtain the packages installed using conda.
In particular conda list will also show pip installed packages and conda install will first try to find a conda package and failing that will use pip to install the package. This branch is scheduled to be merged later this week so that version 2.1 of conda will have better pip-integration with conda.
Conda analyzes each package for compatible dependencies, and how to install them without conflict. If there is a conflict, Conda will let you know that the installation cannot be completed. By comparison, Pip installs all package dependencies regardless of whether they conflict with other packages already installed.
The page that @Sjlver's comment links to (https://github.com/conda/conda/issues/4545#issuecomment-616410225) has an answer.
conda env export --from-history
Please note that you need conda >=4.7.12
(released 2019) for --from-history
(though you can use a newer conda to export an environment created with an older one).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With