文章目录
错误代码
ERROR: Command errored out with exit status 1:
command: ‘C:\Users\31579.conda\envs\python36\python.exe’ ‘C:\Users\31579.conda\envs\python36\lib\site-packages\pip_vendor\pep517\in_process_in_process.py’ bui
ld_wheel ‘C:\Users\31579\AppData\Local\Temp\tmpqvvgjysq’
cwd: C:\Users\31579\AppData\Local\Temp\pip-install-a5xho7b3\opencv-python_c0b22adb6fcc40beae34fb52da121a00
Complete output (332 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.
– Configuring incomplete, errors occurred!
See also “C:/Users/31579/AppData/Local/Temp/pip-install-a5xho7b3/opencv-python_c0b22adb6fcc40beae34fb52da121a00/_cmake_test_compile/build/CMakeFiles/CMa