sml2h3 / ddddocr-fastapi

使用ddddocr的最简api搭建项目,支持docker
873 stars 388 forks source link

windows server2008安装报错 #14

Open JakeWoki opened 2 years ago

JakeWoki commented 2 years ago
could not find any instance of Visual Studio.

-- Configuring incomplete, errors occurred! See also "C:/Users/Administrator/AppData/Local/Temp/2/pip-install-ruhszrvo/opencv-python-headless/ _cmake_test_compile/build/CMakeFiles/CMakeOutput.log". 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/Administrator/AppData/Local/Temp/2/pip-install-ruhszrvo/opencv-python-headless/ _cmake_test_compile/build/CMakeFiles/CMakeOutput.log". Not searching for unused variables given on the command line. CMake Error at CMakeLists.txt:2 (PROJECT): Generator

  Visual Studio 15 2017

could not find any instance of Visual Studio.

-- Configuring incomplete, errors occurred! See also "C:/Users/Administrator/AppData/Local/Temp/2/pip-install-ruhszrvo/opencv-python-headless/ _cmake_test_compile/build/CMakeFiles/CMakeOutput.log". Not searching for unused variables given on the command line. CMake Error at CMakeLists.txt:2 (PROJECT): Generator

  NMake Makefiles

does not support platform specification, but platform

  x64

was specified.

-- Configuring incomplete, errors occurred! See also "C:/Users/Administrator/AppData/Local/Temp/2/pip-install-ruhszrvo/opencv-python-headless/ _cmake_test_compile/build/CMakeFiles/CMakeOutput.log". Not searching for unused variables given on the command line. CMake Error at CMakeLists.txt:2 (PROJECT): Generator

  NMake Makefiles

does not support platform specification, but platform

  x64

was specified.

-- Configuring incomplete, errors occurred! See also "C:/Users/Administrator/AppData/Local/Temp/2/pip-install-ruhszrvo/opencv-python-headless/ _cmake_test_compile/build/CMakeFiles/CMakeOutput.log". Not searching for unused variables given on the command line. CMake Error at CMakeLists.txt:2 (PROJECT): Generator

  NMake Makefiles

does not support platform specification, but platform

  x64

was specified.

-- Configuring incomplete, errors occurred! See also "C:/Users/Administrator/AppData/Local/Temp/2/pip-install-ruhszrvo/opencv-python-headless/ _cmake_test_compile/build/CMakeFiles/CMakeOutput.log".


-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator






--







-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator - failure


-- Trying "Visual Studio 17 2022 x64 v143" generator






--







-- Trying "Visual Studio 17 2022 x64 v143" generator - failure


-- Trying "Ninja (Visual Studio 16 2019 x64 v142)" generator






--







-- Trying "Ninja (Visual Studio 16 2019 x64 v142)" generator - failure


-- Trying "Visual Studio 16 2019 x64 v142" generator






--







-- Trying "Visual Studio 16 2019 x64 v142" generator - failure


-- Trying "Ninja (Visual Studio 15 2017 x64 v141)" generator






--







-- Trying "Ninja (Visual Studio 15 2017 x64 v141)" generator - failure


-- Trying "Visual Studio 15 2017 x64 v141" generator






--







-- Trying "Visual Studio 15 2017 x64 v141" generator - failure


-- Trying "NMake Makefiles (Visual Studio 17 2022 x64 v143)" generator






--







-- Trying "NMake Makefiles (Visual Studio 17 2022 x64 v143)" generator - failure


-- Trying "NMake Makefiles (Visual Studio 16 2019 x64 v142)" generator






--







-- Trying "NMake Makefiles (Visual Studio 16 2019 x64 v142)" generator - failure


-- Trying "NMake Makefiles (Visual Studio 15 2017 x64 v141)" generator






--







-- Trying "NMake Makefiles (Visual Studio 15 2017 x64 v141)" generator - failure


scikit-build could not get a working generator for your system. Aborting build.

Building windows wheels for Python 3.7 requires Microsoft Visual Studio 2022. Get it with "Visual Studio 2017":

https://visualstudio.microsoft.com/vs/

Or with "Visual Studio 2019":

https://visualstudio.microsoft.com/vs/

Or with "Visual Studio 2022":

https://visualstudio.microsoft.com/vs/


ERROR: Failed building wheel for opencv-python-headless Running setup.py clean for opencv-python-headless Failed to build opencv-python-headless ERROR: Could not build wheels for opencv-python-headless which use PEP 517 and cannot be installed d irectly WARNING: You are using pip version 19.2.3, however version 22.2.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

前面应该还有报错,还有救吗