List installed files of a package?

Assuming you have activated the relevant anaconda environment, you can look at the file ${CONDA_PREFIX}/conda-meta/<package-name-and-version>-<hash>.json and look for the files element. (this works with Miniconda on Linux)

Is there a way in conda to list only explicitly installed packages without the packages that were installed as dependencies?

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).

How to identify conda package dependents?

conda info will tell you the directory (or directories) where your package cache is located. These directories contain a unique directory for each package, and each package directory contains an info directory and a file called index.json. There is a requires field in each of these files that refers to a list of conda dependencies. … Read more

Where does conda clean remove packages from?

It removes unused packages from under the pkgs/ directory wherever you happen to have conda installed. An “unused” package is one that’s not used in any environment. All conda packages are stored under the pkgs/ directory and then hard-linked (if possible) into the environments. As an aside, conda clean will print out the location of … Read more

ResolvePackageNotFound: Create env using conda and yml file on MacOS

I had same problem and found your question googling for it. ResolvePackageNotFound error describes all packages not installed yet, but required. To solve the problem, move them under pip section: name: ex3 channels: – menpo – defaults dependencies: – cairo=1.14.8=0 – *** – another dependencies, except not found ones – pip: – gst-plugins-base==1.8.0 – bleach==1.5.0 … Read more

tech