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

Using Jupyter behind a proxy

Way easier: Just add the following to your notebook: In [1]: import os os.environ[‘http_proxy’] = “http://user:passwd@host:port” os.environ[‘https_proxy’] = “https://user:passwd@host:port” after that, requests will work OK=200, e.g. In [2]: import requests requests.get(“https://google.com”) Out[2]: <Response [200]>

Activating conda environment with its full path

Update for conda 4.4 and up: You need to specify the conda environment path to activate. The new conda activate command should not need the full path to an “activate script” any longer, since the command is now “built-in” to conda. So something like: conda activate (fullpath)/env-name-here should work. The command you have specified activates … Read more

Conda dependencies do not install on local package build

Specifying the channel works for me. Actually, you don’t even need to specify the full path. For instance, from the folder where the recipe is located (the meta.yaml and build.sh), I build my package with: conda-build . –output-folder ./build Then, I install the package with: conda install my_package_name -c ./build This will also install the … Read more

Why are packages installed rather than just linked to a specific environment?

Conda already does this. However, because it leverages hardlinks, it is easy to overestimate the space really being used, especially if one only looks at the size of a single environment directory at a time. To illustrate the case, let’s use du to inspect the real disk usage. First, if I count each environment directory … Read more

How could using Mamba instead of Conda as package manager for Anaconda be problematic? [closed]

I’m happy to inform you that there essentially are no strict disadvantages to using Mamba! It began in March 2019 as a thin wrapper around Conda, and has grown considerably by progressively rewriting Conda with equivalent new efficient C++ code. They’ve added Mamba exclusive features such as mamba repoquery. Both Conda and Mamba use a … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)