Erotemic / ibeis

image based ecological information system
Apache License 2.0
47 stars 16 forks source link

Installation Errors #81

Open michavardy opened 1 year ago

michavardy commented 1 year ago

I tried to pip install and I get a bunch of errors, is there a python version, operating system, third party dependency prerequisites that you suggest before pip install? regards,

Erotemic commented 1 year ago

Typically I make a Python virtualenv and then do everything in that.

Using Python 3.6, 3.7, 3.8, 3.9, or 3.10 should all work out of the box on Ubuntu 20.04 or 22.04.

On Windows or OSX, I would expect errors because I haven't been able to get the wheels for the binary dependencies to build correctly (help wanted on that for pyflann_ibeis, pyhesaff_ibeis, and vtool_ibeis_ext). It is possible to build on these systems, but it effectively requires a developer setup where the packages are installed from source. Linux should be much easier.

If you are on Linux, what errors are you getting?

dedtadeas commented 1 year ago

Hi, confirmed issues for Windows 10. There is an issue with building wheel for pyflann_ibeis...

(derby) C:\Users\dedta>pip install ibeis Collecting ibeis Using cached ibeis-2.3.1-py3-none-any.whl (1.4 MB) Collecting pyzmq>=25.0.0 Using cached pyzmq-25.0.0-cp310-cp310-win_amd64.whl (969 kB) Collecting cachetools>=5.0.0 Using cached cachetools-5.3.0-py3-none-any.whl (9.3 kB) Collecting simplejson>=3.6.5 Using cached simplejson-3.18.3-cp310-cp310-win_amd64.whl (74 kB) Collecting requests Downloading requests-2.28.2-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 1.7 MB/s eta 0:00:00 Collecting pyasn1>=0.4.8 Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting dtool-ibeis>=1.1.1 Using cached dtool_ibeis-1.1.1-py3-none-any.whl (106 kB) Collecting networkx>=2.7 Using cached networkx-3.0-py3-none-any.whl (2.0 MB) Collecting pyhesaff>=2.1.1 Using cached pyhesaff-2.1.1.tar.gz (108 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting IPython>=7.16.2 Using cached ipython-8.10.0-py3-none-any.whl (784 kB) Collecting shapely>=1.8.2 Using cached shapely-2.0.1-cp310-cp310-win_amd64.whl (1.4 MB) Collecting futures-actors>=0.0.5 Using cached futures_actors-0.0.5-py2.py3-none-any.whl (12 kB) Collecting pyqt5>=5.15.5 Using cached PyQt5-5.15.9-cp37-abi3-win_amd64.whl (6.8 MB) Collecting six>=1.10.0 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting vtool-ibeis-ext>=0.1.1 Using cached vtool_ibeis_ext-0.1.1.tar.gz (38 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting pandas>=1.3.5 Using cached pandas-1.5.3-cp310-cp310-win_amd64.whl (10.4 MB) Collecting pyflann-ibeis>=2.3.0 Using cached pyflann_ibeis-2.3.0.tar.gz (188 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting delorean>=1.0.0 Using cached Delorean-1.0.0.tar.gz (18 kB) Preparing metadata (setup.py) ... done Collecting flask>=2.1.3 Using cached Flask-2.2.2-py3-none-any.whl (101 kB) Collecting parse>=1.19.0 Using cached parse-1.19.0.tar.gz (30 kB) Preparing metadata (setup.py) ... done Collecting pyparsing Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB) Collecting guitool-ibeis>=2.1.2 Using cached guitool_ibeis-2.1.2-py3-none-any.whl (117 kB) Collecting lockfile>=0.10.2 Using cached lockfile-0.12.2-py2.py3-none-any.whl (13 kB) Collecting matplotlib>=3.5.0 Using cached matplotlib-3.7.0-cp310-cp310-win_amd64.whl (7.6 MB) Collecting tornado>=6.2 Using cached tornado-6.2-cp37-abi3-win_amd64.whl (425 kB) Collecting ubelt>=1.2.3 Using cached ubelt-1.2.3-py3-none-any.whl (206 kB) Collecting numpy>=1.21.6 Using cached numpy-1.24.2-cp310-cp310-win_amd64.whl (14.8 MB) Collecting packaging>=21.3 Using cached packaging-23.0-py3-none-any.whl (42 kB) Requirement already satisfied: setuptools>=34.1.0 in c:\users\dedta.conda\envs\derby\lib\site-packages (from ibeis) (65.6.3) Collecting boto>=2.49.0 Using cached boto-2.49.0-py2.py3-none-any.whl (1.4 MB) Collecting scikit-learn>=1.1.0 Using cached scikit_learn-1.2.1-cp310-cp310-win_amd64.whl (8.3 MB) Collecting utool>=2.1.7 Using cached utool-2.1.7-py3-none-any.whl (568 kB) Collecting pygments>=2.12.0 Using cached Pygments-2.14.0-py3-none-any.whl (1.1 MB) Collecting vtool-ibeis>=2.2.0 Using cached vtool_ibeis-2.2.1-py3-none-any.whl (262 kB) Collecting plottool-ibeis>=2.2.1 Using cached plottool_ibeis-2.2.1-py3-none-any.whl (178 kB) Collecting psutil>=5.9.4 Using cached psutil-5.9.4-cp36-abi3-win_amd64.whl (252 kB) Collecting scikit-image>=0.19.0 Using cached scikit_image-0.19.3-cp310-cp310-win_amd64.whl (12.0 MB) Collecting statsmodels>=0.13.1 Using cached statsmodels-0.13.5-cp310-cp310-win_amd64.whl (9.1 MB) Collecting Pillow>=9.1.0 Downloading Pillow-9.4.0-cp310-cp310-win_amd64.whl (2.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 2.0 MB/s eta 0:00:00 Collecting safer>=4.4.1 Using cached safer-4.4.1-py3-none-any.whl (11 kB) Collecting scipy>=1.8.0 Using cached scipy-1.10.0-cp310-cp310-win_amd64.whl (42.5 MB) Collecting pynmea2>=1.5.3 Using cached pynmea2-1.19.0-py3-none-any.whl (30 kB) Collecting colorama>=0.3.2 Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting babel>=2.1.1 Using cached Babel-2.11.0-py3-none-any.whl (9.5 MB) Collecting humanize>=0.5.1 Using cached humanize-4.6.0-py3-none-any.whl (109 kB) Collecting python-dateutil>=2.4.2 Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting pytz>=2015.7 Using cached pytz-2022.7.1-py2.py3-none-any.whl (499 kB) Collecting tzlocal>=1.2 Using cached tzlocal-4.2-py3-none-any.whl (19 kB) Collecting Werkzeug>=2.2.2 Using cached Werkzeug-2.2.2-py3-none-any.whl (232 kB) Collecting click>=8.0 Using cached click-8.1.3-py3-none-any.whl (96 kB) Collecting Jinja2>=3.0 Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB) Collecting itsdangerous>=2.0 Using cached itsdangerous-2.1.2-py3-none-any.whl (15 kB) Collecting pickleshare Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB) Collecting decorator Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting jedi>=0.16 Using cached jedi-0.18.2-py2.py3-none-any.whl (1.6 MB) Collecting traitlets>=5 Using cached traitlets-5.9.0-py3-none-any.whl (117 kB) Collecting prompt-toolkit<3.1.0,>=3.0.30 Using cached prompt_toolkit-3.0.36-py3-none-any.whl (386 kB) Collecting stack-data Using cached stack_data-0.6.2-py3-none-any.whl (24 kB) Collecting backcall Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB) Collecting matplotlib-inline Using cached matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB) Collecting fonttools>=4.22.0 Using cached fonttools-4.38.0-py3-none-any.whl (965 kB) Collecting cycler>=0.10 Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB) Collecting contourpy>=1.0.1 Using cached contourpy-1.0.7-cp310-cp310-win_amd64.whl (162 kB) Collecting kiwisolver>=1.0.1 Using cached kiwisolver-1.4.4-cp310-cp310-win_amd64.whl (55 kB) Collecting PyQt5-sip<13,>=12.11 Using cached PyQt5_sip-12.11.1-cp310-cp310-win_amd64.whl (78 kB) Collecting PyQt5-Qt5>=5.15.2 Using cached PyQt5_Qt5-5.15.2-py3-none-win_amd64.whl (50.1 MB) Collecting imageio>=2.4.1 Using cached imageio-2.25.1-py3-none-any.whl (3.4 MB) Collecting tifffile>=2019.7.26 Using cached tifffile-2023.2.3-py3-none-any.whl (215 kB) Collecting PyWavelets>=1.1.1 Using cached PyWavelets-1.4.1-cp310-cp310-win_amd64.whl (4.2 MB) Collecting threadpoolctl>=2.0.0 Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB) Collecting joblib>=1.1.1 Using cached joblib-1.2.0-py3-none-any.whl (297 kB) Collecting patsy>=0.5.2 Using cached patsy-0.5.3-py2.py3-none-any.whl (233 kB) Collecting jaraco.windows Using cached jaraco.windows-5.7.0-py3-none-any.whl (60 kB) Collecting gitpython Using cached GitPython-3.1.30-py3-none-any.whl (184 kB) Collecting timerit Using cached timerit-1.0.1-py3-none-any.whl (19 kB) Requirement already satisfied: certifi>=2017.4.17 in c:\users\dedta.conda\envs\derby\lib\site-packages (from requests->ibeis) (2022.12.7) Collecting idna<4,>=2.5 Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 1.1 MB/s eta 0:00:00 Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.14-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 kB 2.1 MB/s eta 0:00:00 Collecting charset-normalizer<4,>=2 Downloading charset_normalizer-3.0.1-cp310-cp310-win_amd64.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.5/96.5 kB 1.8 MB/s eta 0:00:00 Collecting parso<0.9.0,>=0.8.0 Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB) Collecting MarkupSafe>=2.0 Using cached MarkupSafe-2.1.2-cp310-cp310-win_amd64.whl (16 kB) Collecting wcwidth Using cached wcwidth-0.2.6-py2.py3-none-any.whl (29 kB) Collecting pytz-deprecation-shim Using cached pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB) Collecting tzdata Using cached tzdata-2022.7-py2.py3-none-any.whl (340 kB) Collecting gitdb<5,>=4.0.1 Using cached gitdb-4.0.10-py3-none-any.whl (62 kB) Collecting path Using cached path-16.6.0-py3-none-any.whl (26 kB) Collecting more-itertools Using cached more_itertools-9.0.0-py3-none-any.whl (52 kB) Collecting jaraco.collections Using cached jaraco.collections-3.8.0-py3-none-any.whl (10 kB) Collecting jaraco.ui Using cached jaraco.ui-2.3.0-py3-none-any.whl (7.3 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting jaraco.structures>=1.1.1 Using cached jaraco.structures-2.1.0-py3-none-any.whl (4.2 kB) Collecting pure-eval Using cached pure_eval-0.2.2-py3-none-any.whl (11 kB) Collecting executing>=1.2.0 Using cached executing-1.2.0-py2.py3-none-any.whl (24 kB) Collecting asttokens>=2.1.0 Using cached asttokens-2.2.1-py2.py3-none-any.whl (26 kB) Collecting smmap<6,>=3.0.1 Using cached smmap-5.0.0-py3-none-any.whl (24 kB) Collecting jaraco.classes Using cached jaraco.classes-3.2.3-py3-none-any.whl (6.0 kB) Collecting jaraco.functools Using cached jaraco.functools-3.5.2-py3-none-any.whl (7.3 kB) Collecting inflect Using cached inflect-6.0.2-py3-none-any.whl (34 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting pydantic>=1.9.1 Using cached pydantic-1.10.4-cp310-cp310-win_amd64.whl (2.1 MB) Collecting typing-extensions>=4.2.0 Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB) Building wheels for collected packages: delorean, parse, pyflann-ibeis, pyhesaff, vtool-ibeis-ext Building wheel for delorean (setup.py) ... done Created wheel for delorean: filename=Delorean-1.0.0-py3-none-any.whl size=9582 sha256=38aa0b68786e82319972cc90f07e612e5b05b554b017f80fcae3f69c69c0c6e9 Stored in directory: c:\users\dedta\appdata\local\pip\cache\wheels\06\06\e7\3d439edefec1a520a8301e285b0d83d4728066cd94c6531ab7 Building wheel for parse (setup.py) ... done Created wheel for parse: filename=parse-1.19.0-py3-none-any.whl size=24571 sha256=36464291e8222a887bea352a3a1778d5857179263f7f04425ab29d19944171b5 Stored in directory: c:\users\dedta\appdata\local\pip\cache\wheels\03\d9\92\db136347b5bcba7d271a3c042ce8c9c279e0ecd79173bb0a6e Building wheel for pyflann-ibeis (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for pyflann-ibeis (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [114 lines of output]

  --------------------------------------------------------------------------------
  -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  -- The C compiler identification is MSVC 19.30.30709.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx86/x64/cl.exe - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- The CXX compiler identification is MSVC 19.30.30709.0
  CMake Warning (dev) at C:/Users/dedta/AppData/Local/Temp/pip-build-env-9vsmk80x/overlay/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCXXCompiler.cmake:168 (if):
    Policy CMP0054 is not set: Only interpret if() arguments as variables or
    keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
    details.  Use the cmake_policy command to set the policy and suppress this
    warning.

    Quoted variables like "MSVC" will no longer be dereferenced when the policy
    is set to NEW.  Since the policy is not set the OLD behavior will be used.
  Call Stack (most recent call first):
    CMakeLists.txt:4 (ENABLE_LANGUAGE)
  This warning is for project developers.  Use -Wno-dev to suppress it.

  CMake Warning (dev) at C:/Users/dedta/AppData/Local/Temp/pip-build-env-9vsmk80x/overlay/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCXXCompiler.cmake:189 (elseif):
    Policy CMP0054 is not set: Only interpret if() arguments as variables or
    keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
    details.  Use the cmake_policy command to set the policy and suppress this
    warning.

    Quoted variables like "MSVC" will no longer be dereferenced when the policy
    is set to NEW.  Since the policy is not set the OLD behavior will be used.
  Call Stack (most recent call first):
    CMakeLists.txt:4 (ENABLE_LANGUAGE)
  This warning is for project developers.  Use -Wno-dev to suppress it.

  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx86/x64/cl.exe - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Configuring done
  -- Generating done
  -- Build files have been written to: C:/Users/dedta/AppData/Local/Temp/pip-install-p13d_ib3/pyflann-ibeis_7b219919d59e4ce294a5b1f8642b1162/_cmake_test_compile/build
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator - success
  --------------------------------------------------------------------------------

  Configuring Project
    Working directory:
      C:\Users\dedta\AppData\Local\Temp\pip-install-p13d_ib3\pyflann-ibeis_7b219919d59e4ce294a5b1f8642b1162\_skbuild\win-amd64-3.10\cmake-build
    Command:
      'C:\Users\dedta\AppData\Local\Temp\pip-build-env-9vsmk80x\overlay\Lib\site-packages\cmake\data\bin/cmake.exe' 'C:\Users\dedta\AppData\Local\Temp\pip-install-p13d_ib3\pyflann-ibeis_7b219919d59e4ce294a5b1f8642b1162' -G Ninja '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\dedta\AppData\Local\Temp\pip-install-p13d_ib3\pyflann-ibeis_7b219919d59e4ce294a5b1f8642b1162\_skbuild\win-amd64-3.10\cmake-install' -DPYTHON_VERSION_STRING:STRING=3.10.9 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-9vsmk80x\overlay\Lib\site-packages\skbuild\resources\cmake' '-DPYTHON_EXECUTABLE:PATH=C:\Users\dedta\.conda\envs\derby\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Users\dedta\.conda\envs\derby\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\dedta\.conda\envs\derby\libs\python310.lib' '-DPython_EXECUTABLE:PATH=C:\Users\dedta\.conda\envs\derby\python.exe' '-DPython_ROOT_DIR:PATH=C:\Users\dedta\.conda\envs\derby' '-DPython_INCLUDE_DIR:PATH=C:\Users\dedta\.conda\envs\derby\Include' -DPython_FIND_REGISTRY:STRING=NEVER '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-9vsmk80x\overlay\Lib\site-packages\numpy\core\include' '-DPython3_EXECUTABLE:PATH=C:\Users\dedta\.conda\envs\derby\python.exe' '-DPython3_ROOT_DIR:PATH=C:\Users\dedta\.conda\envs\derby' '-DPython3_INCLUDE_DIR:PATH=C:\Users\dedta\.conda\envs\derby\Include' -DPython3_FIND_REGISTRY:STRING=NEVER '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-9vsmk80x\overlay\Lib\site-packages\numpy\core\include' '-DCMAKE_MAKE_PROGRAM:FILEPATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-9vsmk80x\overlay\Lib\site-packages\ninja\data\bin\ninja' -DBUILD_C_BINDINGS=ON -DBUILD_MATLAB_BINDINGS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_DOC=OFF -DCMAKE_BUILD_TYPE:STRING=Release

  -- The C compiler identification is MSVC 19.30.30709.0
  -- The CXX compiler identification is MSVC 19.30.30709.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx86/x64/cl.exe - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx86/x64/cl.exe - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- FLANN_IBEIS_VERSION = 2.3.0
  -- FLANN_IBEIS_VERSION = 2.3.0
  -- FLANN_SOVERSION = 2.3
  -- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS) (found version "")
  CMake Warning at CMakeLists.txt:94 (message):
    hdf5 library not found, some tests will not be run

  -- Found OpenMP_C: -openmp (found version "2.0")
  -- Found OpenMP_CXX: -openmp (found version "2.0")
  -- Found OpenMP: TRUE (found version "2.0")
  CMake Error at C:/Users/dedta/AppData/Local/Temp/pip-build-env-9vsmk80x/overlay/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
    Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  Call Stack (most recent call first):
    C:/Users/dedta/AppData/Local/Temp/pip-build-env-9vsmk80x/overlay/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
    C:/Users/dedta/AppData/Local/Temp/pip-build-env-9vsmk80x/overlay/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/FindPkgConfig.cmake:99 (find_package_handle_standard_args)
    CMakeLists.txt:162 (find_package)

  -- Configuring incomplete, errors occurred!
  See also "C:/Users/dedta/AppData/Local/Temp/pip-install-p13d_ib3/pyflann-ibeis_7b219919d59e4ce294a5b1f8642b1162/_skbuild/win-amd64-3.10/cmake-build/CMakeFiles/CMakeOutput.log".
  Traceback (most recent call last):
    File "C:\Users\dedta\AppData\Local\Temp\pip-build-env-9vsmk80x\overlay\Lib\site-packages\skbuild\setuptools_wrap.py", line 641, in setup
      env = cmkr.configure(
    File "C:\Users\dedta\AppData\Local\Temp\pip-build-env-9vsmk80x\overlay\Lib\site-packages\skbuild\cmaker.py", line 337, in configure
      raise SKBuildError(

  An error occurred while configuring with CMake.
    Command:
      'C:\Users\dedta\AppData\Local\Temp\pip-build-env-9vsmk80x\overlay\Lib\site-packages\cmake\data\bin/cmake.exe' 'C:\Users\dedta\AppData\Local\Temp\pip-install-p13d_ib3\pyflann-ibeis_7b219919d59e4ce294a5b1f8642b1162' -G Ninja '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\dedta\AppData\Local\Temp\pip-install-p13d_ib3\pyflann-ibeis_7b219919d59e4ce294a5b1f8642b1162\_skbuild\win-amd64-3.10\cmake-install' -DPYTHON_VERSION_STRING:STRING=3.10.9 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-9vsmk80x\overlay\Lib\site-packages\skbuild\resources\cmake' '-DPYTHON_EXECUTABLE:PATH=C:\Users\dedta\.conda\envs\derby\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Users\dedta\.conda\envs\derby\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\dedta\.conda\envs\derby\libs\python310.lib' '-DPython_EXECUTABLE:PATH=C:\Users\dedta\.conda\envs\derby\python.exe' '-DPython_ROOT_DIR:PATH=C:\Users\dedta\.conda\envs\derby' '-DPython_INCLUDE_DIR:PATH=C:\Users\dedta\.conda\envs\derby\Include' -DPython_FIND_REGISTRY:STRING=NEVER '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-9vsmk80x\overlay\Lib\site-packages\numpy\core\include' '-DPython3_EXECUTABLE:PATH=C:\Users\dedta\.conda\envs\derby\python.exe' '-DPython3_ROOT_DIR:PATH=C:\Users\dedta\.conda\envs\derby' '-DPython3_INCLUDE_DIR:PATH=C:\Users\dedta\.conda\envs\derby\Include' -DPython3_FIND_REGISTRY:STRING=NEVER '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-9vsmk80x\overlay\Lib\site-packages\numpy\core\include' '-DCMAKE_MAKE_PROGRAM:FILEPATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-9vsmk80x\overlay\Lib\site-packages\ninja\data\bin\ninja' -DBUILD_C_BINDINGS=ON -DBUILD_MATLAB_BINDINGS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_DOC=OFF -DCMAKE_BUILD_TYPE:STRING=Release
    Source directory:
      C:\Users\dedta\AppData\Local\Temp\pip-install-p13d_ib3\pyflann-ibeis_7b219919d59e4ce294a5b1f8642b1162
    Working directory:
      C:\Users\dedta\AppData\Local\Temp\pip-install-p13d_ib3\pyflann-ibeis_7b219919d59e4ce294a5b1f8642b1162\_skbuild\win-amd64-3.10\cmake-build
  Please see CMake's output for more information.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pyflann-ibeis Building wheel for pyhesaff (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for pyhesaff (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [10 lines of output] Traceback (most recent call last): File "C:\Users\dedta\AppData\Local\Temp\pip-build-env-7u96hgtg\overlay\Lib\site-packages\skbuild\setuptools_wrap.py", line 621, in setup cmkr = cmaker.CMaker(cmake_executable) File "C:\Users\dedta\AppData\Local\Temp\pip-build-env-7u96hgtg\overlay\Lib\site-packages\skbuild\cmaker.py", line 151, in init self.cmake_version = get_cmake_version(self.cmake_executable) File "C:\Users\dedta\AppData\Local\Temp\pip-build-env-7u96hgtg\overlay\Lib\site-packages\skbuild\cmaker.py", line 106, in get_cmake_version raise SKBuildError(

  pyhesaff_package_data = ['*.cp310-win_amd64.pyd', '*-3.10.dll', '*.dll', '*.dll', 'Release\\*.dll', 'LICENSE.txt', 'LICENSE-3RD-PARTY.txt', 'LICENSE.SIFT']
  Problem with the CMake installation, aborting build. CMake executable is cmake
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pyhesaff Building wheel for vtool-ibeis-ext (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for vtool-ibeis-ext (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [112 lines of output]

  --------------------------------------------------------------------------------
  -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  -- The C compiler identification is MSVC 19.30.30709.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx86/x64/cl.exe - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- The CXX compiler identification is MSVC 19.30.30709.0
  CMake Warning (dev) at C:/Users/dedta/AppData/Local/Temp/pip-build-env-gw5uqpp2/overlay/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCXXCompiler.cmake:168 (if):
    Policy CMP0054 is not set: Only interpret if() arguments as variables or
    keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
    details.  Use the cmake_policy command to set the policy and suppress this
    warning.

    Quoted variables like "MSVC" will no longer be dereferenced when the policy
    is set to NEW.  Since the policy is not set the OLD behavior will be used.
  Call Stack (most recent call first):
    CMakeLists.txt:4 (ENABLE_LANGUAGE)
  This warning is for project developers.  Use -Wno-dev to suppress it.

  CMake Warning (dev) at C:/Users/dedta/AppData/Local/Temp/pip-build-env-gw5uqpp2/overlay/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCXXCompiler.cmake:189 (elseif):
    Policy CMP0054 is not set: Only interpret if() arguments as variables or
    keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
    details.  Use the cmake_policy command to set the policy and suppress this
    warning.

    Quoted variables like "MSVC" will no longer be dereferenced when the policy
    is set to NEW.  Since the policy is not set the OLD behavior will be used.
  Call Stack (most recent call first):
    CMakeLists.txt:4 (ENABLE_LANGUAGE)
  This warning is for project developers.  Use -Wno-dev to suppress it.

  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx86/x64/cl.exe - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Configuring done
  -- Generating done
  -- Build files have been written to: C:/Users/dedta/AppData/Local/Temp/pip-install-p13d_ib3/vtool-ibeis-ext_b4fe98a943234525be8dd45bd1e0b297/_cmake_test_compile/build
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator - success
  --------------------------------------------------------------------------------

  Configuring Project
    Working directory:
      C:\Users\dedta\AppData\Local\Temp\pip-install-p13d_ib3\vtool-ibeis-ext_b4fe98a943234525be8dd45bd1e0b297\_skbuild\win-amd64-3.10\cmake-build
    Command:
      'C:\Users\dedta\AppData\Local\Temp\pip-build-env-gw5uqpp2\overlay\Lib\site-packages\cmake\data\bin/cmake.exe' 'C:\Users\dedta\AppData\Local\Temp\pip-install-p13d_ib3\vtool-ibeis-ext_b4fe98a943234525be8dd45bd1e0b297' -G Ninja '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\dedta\AppData\Local\Temp\pip-install-p13d_ib3\vtool-ibeis-ext_b4fe98a943234525be8dd45bd1e0b297\_skbuild\win-amd64-3.10\cmake-install' -DPYTHON_VERSION_STRING:STRING=3.10.9 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-gw5uqpp2\overlay\Lib\site-packages\skbuild\resources\cmake' '-DPYTHON_EXECUTABLE:PATH=C:\Users\dedta\.conda\envs\derby\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Users\dedta\.conda\envs\derby\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\dedta\.conda\envs\derby\libs\python310.lib' '-DPython_EXECUTABLE:PATH=C:\Users\dedta\.conda\envs\derby\python.exe' '-DPython_ROOT_DIR:PATH=C:\Users\dedta\.conda\envs\derby' '-DPython_INCLUDE_DIR:PATH=C:\Users\dedta\.conda\envs\derby\Include' -DPython_FIND_REGISTRY:STRING=NEVER '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-gw5uqpp2\overlay\Lib\site-packages\numpy\core\include' '-DPython3_EXECUTABLE:PATH=C:\Users\dedta\.conda\envs\derby\python.exe' '-DPython3_ROOT_DIR:PATH=C:\Users\dedta\.conda\envs\derby' '-DPython3_INCLUDE_DIR:PATH=C:\Users\dedta\.conda\envs\derby\Include' -DPython3_FIND_REGISTRY:STRING=NEVER '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-gw5uqpp2\overlay\Lib\site-packages\numpy\core\include' '-DCMAKE_MAKE_PROGRAM:FILEPATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-gw5uqpp2\overlay\Lib\site-packages\ninja\data\bin\ninja' -DCMAKE_BUILD_TYPE:STRING=Release

  -- The C compiler identification is MSVC 19.30.30709.0
  -- The CXX compiler identification is MSVC 19.30.30709.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx86/x64/cl.exe - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx86/x64/cl.exe - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  CMake Error at CMakeLists.txt:61 (find_package):
    By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
    asked CMake to find a package configuration file provided by "OpenCV", but
    CMake did not find one.

    Could not find a package configuration file provided by "OpenCV" with any
    of the following names:

      OpenCVConfig.cmake
      opencv-config.cmake

    Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
    "OpenCV_DIR" to a directory containing one of the above files.  If "OpenCV"
    provides a separate development package or SDK, be sure it has been
    installed.

  -- Configuring incomplete, errors occurred!
  See also "C:/Users/dedta/AppData/Local/Temp/pip-install-p13d_ib3/vtool-ibeis-ext_b4fe98a943234525be8dd45bd1e0b297/_skbuild/win-amd64-3.10/cmake-build/CMakeFiles/CMakeOutput.log".
  Traceback (most recent call last):
    File "C:\Users\dedta\AppData\Local\Temp\pip-build-env-gw5uqpp2\overlay\Lib\site-packages\skbuild\setuptools_wrap.py", line 641, in setup
      env = cmkr.configure(
    File "C:\Users\dedta\AppData\Local\Temp\pip-build-env-gw5uqpp2\overlay\Lib\site-packages\skbuild\cmaker.py", line 337, in configure
      raise SKBuildError(

  An error occurred while configuring with CMake.
    Command:
      'C:\Users\dedta\AppData\Local\Temp\pip-build-env-gw5uqpp2\overlay\Lib\site-packages\cmake\data\bin/cmake.exe' 'C:\Users\dedta\AppData\Local\Temp\pip-install-p13d_ib3\vtool-ibeis-ext_b4fe98a943234525be8dd45bd1e0b297' -G Ninja '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\dedta\AppData\Local\Temp\pip-install-p13d_ib3\vtool-ibeis-ext_b4fe98a943234525be8dd45bd1e0b297\_skbuild\win-amd64-3.10\cmake-install' -DPYTHON_VERSION_STRING:STRING=3.10.9 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-gw5uqpp2\overlay\Lib\site-packages\skbuild\resources\cmake' '-DPYTHON_EXECUTABLE:PATH=C:\Users\dedta\.conda\envs\derby\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Users\dedta\.conda\envs\derby\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\dedta\.conda\envs\derby\libs\python310.lib' '-DPython_EXECUTABLE:PATH=C:\Users\dedta\.conda\envs\derby\python.exe' '-DPython_ROOT_DIR:PATH=C:\Users\dedta\.conda\envs\derby' '-DPython_INCLUDE_DIR:PATH=C:\Users\dedta\.conda\envs\derby\Include' -DPython_FIND_REGISTRY:STRING=NEVER '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-gw5uqpp2\overlay\Lib\site-packages\numpy\core\include' '-DPython3_EXECUTABLE:PATH=C:\Users\dedta\.conda\envs\derby\python.exe' '-DPython3_ROOT_DIR:PATH=C:\Users\dedta\.conda\envs\derby' '-DPython3_INCLUDE_DIR:PATH=C:\Users\dedta\.conda\envs\derby\Include' -DPython3_FIND_REGISTRY:STRING=NEVER '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-gw5uqpp2\overlay\Lib\site-packages\numpy\core\include' '-DCMAKE_MAKE_PROGRAM:FILEPATH=C:\Users\dedta\AppData\Local\Temp\pip-build-env-gw5uqpp2\overlay\Lib\site-packages\ninja\data\bin\ninja' -DCMAKE_BUILD_TYPE:STRING=Release
    Source directory:
      C:\Users\dedta\AppData\Local\Temp\pip-install-p13d_ib3\vtool-ibeis-ext_b4fe98a943234525be8dd45bd1e0b297
    Working directory:
      C:\Users\dedta\AppData\Local\Temp\pip-install-p13d_ib3\vtool-ibeis-ext_b4fe98a943234525be8dd45bd1e0b297\_skbuild\win-amd64-3.10\cmake-build
  Please see CMake's output for more information.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for vtool-ibeis-ext Successfully built delorean parse Failed to build pyflann-ibeis pyhesaff vtool-ibeis-ext ERROR: Could not build wheels for pyflann-ibeis, pyhesaff, vtool-ibeis-ext, which is required to install pyproject.toml-based projects