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 source fial #1093

Open
wanggei opened this issue Mar 29, 2025 · 1 comment
Open

pip install source fial #1093

wanggei opened this issue Mar 29, 2025 · 1 comment

Comments

@wanggei
Copy link

wanggei commented Mar 29, 2025

  • Up-to-date: /home/opencv-python-headless-4.9.0.80/_skbuild/linux-riscv64-3.11/cmake-install/share/opencv4/lbpcascades/lbpcascade_silverware.xml
    Copying files from CMake output
    Traceback (most recent call last):
    File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in
    main()
    File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
    return _build_backend().build_wheel(
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/pip-build-env-9ifmmgma/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 230, in build_wheel
    return self._build_with_temp_dir(['bdist_wheel'], '.whl',
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/pip-build-env-9ifmmgma/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
    self.run_setup()
    File "/tmp/pip-build-env-9ifmmgma/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 268, in run_setup
    self).run_setup(setup_script=setup_script)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/pip-build-env-9ifmmgma/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 158, in run_setup
    exec(compile(code, file, 'exec'), locals())
    File "setup.py", line 537, in
    main()
    File "setup.py", line 267, in main
    setup(
    File "/tmp/pip-build-env-9ifmmgma/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 700, in setup
    _classify_installed_files(
    File "setup.py", line 411, in _classify_installed_files_override
    with open(config_py, 'w') as opencv_init_config:
    ^^^^^^^^^^^^^^^^^^^^
    FileNotFoundError: [Errno 2] No such file or directory: '_skbuild/linux-riscv64-3.11/cmake-install/python/cv2/config-3.py'
@wanggei
Copy link
Author

wanggei commented Mar 29, 2025

Python version:3.11.8
opencv-python-headless: 4.9.0.80

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

1 participant