Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

opencv-python安装失败 #852

Open
chrislee0518 opened this issue Dec 5, 2023 · 1 comment
Open

opencv-python安装失败 #852

chrislee0518 opened this issue Dec 5, 2023 · 1 comment

Comments

@chrislee0518
Copy link

An error occurred while building with CMake.
Command:
'C:\Users\DELL\AppData\Local\Temp\pip-build-env-ev93rmjn\overlay\Lib\site-packages\cmake\data\bin/cmake.exe' --build . --target install --config Release --
Install target:
install
Source directory:
C:\Users\DELL\AppData\Local\Temp\pip-install-37y7k30v\opencv-python_a63a707759e54ce28e77b17348d8ee01
Working directory:
C:\Users\DELL\AppData\Local\Temp\pip-install-37y7k30v\opencv-python_a63a707759e54ce28e77b17348d8ee01_skbuild\win-amd64-3.6\cmake-build
Please check the install target is valid and see CMake's output for more information.

ERROR: Failed building wheel for opencv-python
Failed to build opencv-python
ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects

建轮子一直失败,是缺少什么配置文件吗,有没有大佬指点一下?

@chrislee0518
Copy link
Author

pip install -i https://pypi.douban.com/simple/ pip install opencv-python==4.3.0.38
指定个版本就行了

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

No branches or pull requests

1 participant