Unable to add packages
tawichi opened this issue · comments
Taichi Okunishi commented
Hi.
As written in the README, I followed these steps to add pandas
- Add packages with corresponding versions to gpu.environment.yml file
- Lock the environment: conda lock -p linux-64 -f gpu.environment.yml --lockfile gpu.conda-lock.yml
- (Alternative Docker) Lock the environment: docker compose -f docker-compose.dev.yml run facetorch-lock-gpu
- 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?
Tomas Gajarsky commented
Hi, I would suggest a few things:
- Seach for pandas in the lock file - if it is not there, then the locking of env needs fixing
- Make sure to build the image from scratch
docker compose -f docker-compose.dev.yml run --build facetorch-dev-gpu
Taichi Okunishi commented
I forgot to build from scratch. Thanks.