PaddlePaddle / PaddleGAN

PaddlePaddle GAN library, including lots of interesting applications like First-Order motion transfer, Wav2Lip, picture repair, image editing, photo2cartoon, image style transfer, GPEN, and so on.
Apache License 2.0
7.84k stars 1.24k forks source link

pip install -r requirements.txt 出錯 #858

Open kund3 opened 1 week ago

kund3 commented 1 week ago

請問這個是什麼錯呢QQ?

`Collecting scikit-image>=0.14.0 (from -r requirements.txt (line 3)) Using cached scikit_image-0.23.2-cp312-cp312-win_amd64.whl.metadata (14 kB) Using cached scikit_image-0.23.1-cp312-cp312-win_amd64.whl.metadata (14 kB) Using cached scikit_image-0.22.0-cp312-cp312-win_amd64.whl.metadata (13 kB) Using cached scikit_image-0.21.0.tar.gz (22.7 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [889 lines of output]

JunnYu commented 1 week ago

这是编译第三方依赖 scikit-image 出的问题,https://github.com/scikit-image/scikit-image 建议在这里你找一下解决方式,建议还是用conda环境装一些东西吧

KCKCC commented 1 week ago

我照教程同樣出現原PO問題,

这是编译第三方依赖 scikit-image 出的问题,https://github.com/scikit-image/scikit-image 建议在这里你找一下解决方式,建议还是用conda环境装一些东西吧

嘗試用conda安裝 感覺缺了更多包了 Screenshot 2024-09-06 230204 還望指點,感謝

JunnYu commented 6 days ago

你的python版本是多少?我看这里你可能是python3.12,建议先降低版本,3.8~3.9之类的 image