Skip to content

windows 11 with python 3.14 support #1160

@jdfoxito

Description

@jdfoxito

tengo el error al instalar la libreria

Collecting opencv-python
Downloading opencv_python-4.12.0.88-cp37-abi3-win_amd64.whl.metadata (19 kB)
Collecting numpy<2.3.0,>=2 (from opencv-python)
Downloading numpy-2.2.6.tar.gz (20.3 MB)
---------------------------------------- 20.3/20.3 MB 21.8 MB/s 0:00:01
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
╰─> [49 lines of output]
Traceback (most recent call last):
File "D:\softapps\pyjdfx\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 389, in
main()
~~~~^^
File "D:\softapps\pyjdfx\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\softapps\pyjdfx\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 178, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
File "C:\Users\pythouser\AppData\Local\Temp\pip-build-env-bdkdpomy\overlay\Lib\site-packages\mesonpy_init_.py", line 1144, in wrapper
return func(*args, **kwargs)
File "C:\Users\pythouser\AppData\Local\Temp\pip-build-env-bdkdpomy\overlay\Lib\site-packages\mesonpy_init_.py", line 1197, in build_wheel
with project(config_settings) as project:
~~~~~~~~^^^^^^^^^^^^^^^^^
File "D:\softapps\pyjdfx\Lib\contextlib.py", line 141, in enter
return next(self.gen)
File "C:\Users\pythouser\AppData\Local\Temp\pip-build-env-bdkdpomy\overlay\Lib\site-packages\mesonpy_init
.py", line 1063, in project
yield Project(source_dir, build_dir, meson_args, editable_verbose)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pythouser\AppData\Local\Temp\pip-build-env-bdkdpomy\overlay\Lib\site-packages\mesonpy_init
.py", line 675, in init
self._ninja = env_ninja_command()
~~~~~~~~~~~~~~~~~~^^
File "C:\Users\pythouser\AppData\Local\Temp\pip-build-env-bdkdpomy\overlay\Lib\site-packages\mesonpy_init
.py", line 1121, in _env_ninja_command
version = subprocess.run([ninja_path, '--version'], check=False, text=True, capture_output=True).stdout
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\softapps\pyjdfx\Lib\subprocess.py", line 554, in run
with Popen(*popenargs, **kwargs) as process:
~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "D:\softapps\pyjdfx\Lib\subprocess.py", line 1038, in init
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\softapps\pyjdfx\Lib\subprocess.py", line 1552, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
# no special security
^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
cwd,
^^^^
startupinfo)
^^^^^^^^^^^^
PermissionError: [WinError 5] Acceso denegado
[end of output]

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

× Encountered error while generating package metadata.
╰─> numpy

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions