'How to see pip installation details while installing a conda environment using a YAML file?

I am trying to debug a problem with conda environment not being able to install pip dependencies, but conda create env -f environment.yaml is not very helping with the output of its pip transactions, this is how it is trying to install pip dependencies.

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: \ 

Is there any way to get a detailed output of what is happening inside pip install in a yaml file?



Solution 1:[1]

In lieu of direct Conda support for pip install verbosity, one could manually debug by splitting the YAML. That is, separate the YAML requirements into a Conda-only version and take all the pip: requirements and put them in a requirements.txt. Create the environment from the Conda-only YAML, activate it, then run pip install -r requirements.txt using whatever level of verbosity you need.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 merv