Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install -r requirements.txt 出錯 #858

Open
kund3 opened this issue Sep 6, 2024 · 3 comments
Open

pip install -r requirements.txt 出錯 #858

kund3 opened this issue Sep 6, 2024 · 3 comments
Assignees

Comments

@kund3
Copy link

kund3 commented Sep 6, 2024

請問這個是什麼錯呢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]
+ meson setup C:\Users\xx\AppData\Local\Temp\pip-install-9boazots\scikit-image_59667b5c7ad24ac2bbc4f01ae898d974 C:\Users\xx\AppData\Local\Temp\pip-install-9boazots\scikit-image_59667b5c7ad24ac2bbc4f01ae898d974.mesonpy-1cad2wis -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\xx\AppData\Local\Temp\pip-install-9boazots\scikit-image_59667b5c7ad24ac2bbc4f01ae898d974.mesonpy-1cad2wis\meson-python-native-file.ini
The Meson build system
Version: 1.5.1
Source dir: C:\Users\xx\AppData\Local\Temp\pip-install-9boazots\scikit-image_59667b5c7ad24ac2bbc4f01ae898d974
Build dir: C:\Users\xx\AppData\Local\Temp\pip-install-9boazots\scikit-image_59667b5c7ad24ac2bbc4f01ae898d974.mesonpy-1cad2wis
Build type: native build
Project name: scikit-image
Project version: 0.21.0
Activating VS 17.8.6`

@JunnYu
Copy link
Member

JunnYu commented Sep 6, 2024

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

@KCKCC
Copy link

KCKCC commented Sep 6, 2024

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

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

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

@JunnYu
Copy link
Member

JunnYu commented Sep 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants