conda-lock icon indicating copy to clipboard operation
conda-lock copied to clipboard

Add more diagnostic output

Open mariusvniekerk opened this issue 5 years ago • 2 comments

Conda-lock has a few phases. It would be helpful for users if at those various phases it could show some kind of progress

mariusvniekerk avatar Apr 22 '20 03:04 mariusvniekerk

I have a simple environment.yml file, with one dependency: torch. This causes conda-lock to hang without any output for 5-10min.

I looked at https://github.com/conda/conda-lock/issues/315, however I have no poetry cache.

A more complicated environment.yml hadn't finished after nearly 30min. I can run over night to see if finishes, but regardless it would be nice to have a verbose mode documented! As a new user I thought it wasn't working, and I almost wrote an issue titled "Pip dependencies cause hang"

name: test
channels:
  - defaults
dependencies:
  - python=3.11
  - pip
  - pip:
    - torch
# non-standard, used by conda-lock
platforms:
  - linux-64
  - osx-arm64
  - win-64

tbenst avatar Jan 09 '24 02:01 tbenst

@tbenst, why are you installing pytorch as a pip dependency instead of as a conda dependency? Also, I'd generally prefer that you open new issues instead of posting in old ones.

maresb avatar Jan 09 '24 08:01 maresb