Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

pip install build issue #825

Copy link
Copy link
Open
Open
Copy link
@DrBwts

Description

@DrBwts
Issue body actions

Expected behaviour

I expected OpenCV's python API to install. I have used the same proceedure in numerous conda environments & have never had a problem like this. In fact it worked just fine yesterday in a different conda env

Actual behaviour

pip installer threw pages & pages of errors, c&p below

Steps to reproduce

As admin,
conda activate genicam

Then any of the following,

pip install opencv-contrib-python
pip install opencv-contrib-python --user
pip install opencv-python
pip install opencv-python --user

They all give the same pages & pages of errors

  • operating system - Win 10
  • architecture (e.g. x86) - x64
  • opencv-python version - 4.7.0.72

I would post the errors but "There was an error creating your Issue: body is too long (maximum is 65536 characters). "

So some highlights,

ERROR: Command errored out with exit status 1:
   command: 'C:\ProgramData\Anaconda3\envs\genicam\python.exe' 'C:\ProgramData\Anaconda3\envs\genicam\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\NICBWT~1\AppData\Local\Temp\tmp98_vz8u5'
       cwd: C:\Users\NICBWT~1\AppData\Local\Temp\pip-install-71z9rl7t\opencv-contrib-python_387a51900d48422f8ed4ed222402118d
  Complete output (1205 lines):


  --------------------------------------------------------------------------------
  -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  CMake Error at CMakeLists.txt:2 (PROJECT):
    Generator

      Ninja

    does not support platform specification, but platform

      x64

    was specified.

The LOADS of stuff ending with...

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

Metadata

Metadata

Assignees

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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.