Skip to content

Failed to build installable wheels for some pyproject.toml based projects #1

@XYQ1517

Description

@XYQ1517

Hello, we encountered this problem during the installation process. Do you know how to solve it?

Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.15.0 in d:\anaconda\lib\site-packages (from tiny-thermal-camera==1.0.0) (1.24.3)
Building wheels for collected packages: tiny-thermal-camera
Building wheel for tiny-thermal-camera (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for tiny-thermal-camera (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [62 lines of output]
C:\Users\33301\AppData\Local\Temp\pip-build-env-_n7gk2a6\overlay\Lib\site-packages\setuptools\config_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: project.license as a TOML table is deprecated
!!

          ********************************************************************************
          Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).

          By 2026-Feb-18, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************

  !!
    corresp(dist, value, root_dir)
  C:\Users\33301\AppData\Local\Temp\pip-build-env-_n7gk2a6\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies)
    corresp(dist, value, root_dir)
  C:\Users\33301\AppData\Local\Temp\pip-build-env-_n7gk2a6\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:82: SetuptoolsWarning: `extras_require` overwritten in `pyproject.toml` (optional-dependencies)  
    corresp(dist, value, root_dir)
  C:\Users\33301\AppData\Local\Temp\pip-build-env-_n7gk2a6\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
  !!

          ********************************************************************************
          Please consider removing the following classifiers in favor of a SPDX license expression:

          License :: OSI Approved :: MIT License

          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************

  !!
    dist._finalize_license_expression()
  C:\Users\33301\AppData\Local\Temp\pip-build-env-_n7gk2a6\overlay\Lib\site-packages\setuptools\dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
  !!

          ********************************************************************************
          Please consider removing the following classifiers in favor of a SPDX license expression:

          License :: OSI Approved :: MIT License

          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************

  !!
    self._finalize_license_expression()
  Building for: windows / amd64
  Preparing DLL package for Windows...
  Warning: DLL package not found
  Using local OpenCV headers from ./libir_sample
  Warning: x64 DLLs not found, build may fail
  running bdist_wheel
  running build
  running build_py
  running egg_info
  writing src\tiny_thermal_camera.egg-info\PKG-INFO
  writing dependency_links to src\tiny_thermal_camera.egg-info\dependency_links.txt
  writing requirements to src\tiny_thermal_camera.egg-info\requires.txt
  writing top-level names to src\tiny_thermal_camera.egg-info\top_level.txt
  reading manifest file 'src\tiny_thermal_camera.egg-info\SOURCES.txt'
  writing manifest file 'src\tiny_thermal_camera.egg-info\SOURCES.txt'
  running build_ext
  building 'tiny_thermal_camera' extension
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tiny-thermal-camera
Failed to build tiny-thermal-camera
error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> tiny-thermal-camera

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions