tomas-gajarsky / facetorch

Python library for analysing faces using PyTorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to add packages

tawichi opened this issue · comments

Hi.

As written in the README, I followed these steps to add pandas

  1. Add packages with corresponding versions to gpu.environment.yml file
  2. Lock the environment: conda lock -p linux-64 -f gpu.environment.yml --lockfile gpu.conda-lock.yml
  3. (Alternative Docker) Lock the environment: docker compose -f docker-compose.dev.yml run facetorch-lock-gpu
  4. Install the locked environment: conda-lock install --name env gpu.conda-lock.yml

However, if I create a container after this procedure with "docker compose -f docker-compose.dev.yml run facetorch-dev-gpu", pandas is not added there. How can I add it?

Hi, I would suggest a few things:

  1. Seach for pandas in the lock file - if it is not there, then the locking of env needs fixing
  2. Make sure to build the image from scratch docker compose -f docker-compose.dev.yml run --build facetorch-dev-gpu

I forgot to build from scratch. Thanks.