ali-vilab / AnyDoor

Official implementations for paper: Anydoor: zero-shot object-level image customization
https://ali-vilab.github.io/AnyDoor-Page/
MIT License
3.98k stars 362 forks source link

Conda ResolvePackageNotFound: #30

Open VioletRaven opened 10 months ago

VioletRaven commented 10 months ago

Hello there, I can't find a way to install all these libraries.

If I use conda:


**conda env create -f environment.yaml**
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:
  - tk==8.6.12=h1ccaba5_0
  - wheel==0.41.2=py38h06a4308_0
  - libffi==3.3=he6710b0_2
  - ld_impl_linux-64==2.38=h1181459_1
  - ca-certificates==2023.08.22=h06a4308_0
  - python==3.8.5=h7579374_1
  - libgomp==11.2.0=h1234567_1
  - libgcc-ng==11.2.0=h1234567_1
  - zlib==1.2.13=h5eee18b_0
  - sqlite==3.41.2=h5eee18b_0
  - xz==5.4.5=h5eee18b_0
  - openssl==1.1.1w=h7f8727e_0
  - libstdcxx-ng==11.2.0=h1234567_1
  - pip==23.3.1=py38h06a4308_0
  - _openmp_mutex==5.1=1_gnu
  - readline==8.2=h5eee18b_0
  - ncurses==6.4=h6a678d5_0

With pip things also start looking very bad :( Do you have any suggestion for me?

Thanks,

Andrea

sohaibhaider commented 10 months ago

Had similar issue with "conda" but it worked with "pip", only issue that occurs was building "share" wheel you may check my solution on this issue #33

VioletRaven commented 10 months ago

Actually that didn't work for me anyway because I was encountering another error:

      subprocess.CalledProcessError: Command '['meson', 'setup', '--native-file=C:\\Users\\andre\\AppData\\Local\\Temp\\pip-install-fiqgxcwf\\scipy_03d273badeb440248c9aed6abfb2790d\\.mesonpy-native-file.ini', '-Ddebug=false', '-Doptimization=2', '--prefix=C:\\Users\\andre\\anaconda3', 'C:\\Users\\andre\\AppData\\Local\\Temp\\pip-install-fiqgxcwf\\scipy_03d273badeb440248c9aed6abfb2790d', 'C:\\Users\\andre\\AppData\\Local\\Temp\\pip-install-fiqgxcwf\\scipy_03d273badeb440248c9aed6abfb2790d\\.mesonpy-o967zsd9\\build']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

I did find the solution though! Just downgrading my python version to 3.10 seems to work.