- Notifications
You must be signed in to change notification settings - Fork896
Open
Description
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