CompVis / stable-diffusion

A latent text-to-image diffusion model
https://ommer-lab.com/research/latent-diffusion-models/
Other
68.08k stars 10.14k forks source link

Problem with conda env create -f environment.yaml #379

Open frank01100110 opened 2 years ago

frank01100110 commented 2 years ago

Specs:

OS: Ubuntu 22.04.1 LTS aarch64 Host: KVM Virtual Machine virt-4.2 Kernel: 5.15.0-1016-oracle Uptime: 3 hours, 16 mins Packages: 747 (dpkg), 6 (snap) Shell: bash 5.1.16 Resolution: 1024x768 Terminal: /dev/pts/0 CPU: (4) GPU: 00:01.0 Red Hat, Inc. Virtio GPU Memory: 335MiB / 23988MiB

conda 4.12.0 Python 3.9.12 pip 21.2.4

Output:

ubuntu@instance-09:~$ cd stable-diffusion-cpuonly/
ubuntu@instance-09:~/stable-diffusion-cpuonly$ conda env create -f environment-cpuonly.yaml
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound: 
  - pip=20.3
  - python=3.8.5

ubuntu@instance-09:~/stable-diffusion-cpuonly$ 

EDIT: after a reboot now I get this:

ubuntu@instance-09:~/anaconda3$ env create -f environment-cpuonly.yaml 
env: ‘create’: No such file or directory
frank01100110 commented 2 years ago

Could someone help me?

jrmylee commented 2 years ago

Might want to try a dependency resolution software like: rubbrband, it should automatically resolve this for you

But the general idea is you want to create Docker container for the repo

frank01100110 commented 2 years ago

Might want to try a dependency resolution software like: rubbrband, it should automatically resolve this for you

But the general idea is you want to create Docker container for the repo

I found this: https://github.com/ddelange/pipgrip

Could it be of any help?