Skip to content

Error installing dependencies #6

Description

@DanielKrawisz

Running the commands given in the README, I get an error that I cannot resolve when I try to install the requirements. Here is the error:

Building wheels for collected packages: hidapi
Building wheel for hidapi (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for hidapi (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
/tmp/pip-build-env-v_mkk_4l/overlay/lib/python3.11/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

          ********************************************************************************
          Please consider removing the following classifiers in favor of a SPDX license expression:
  
          License :: OSI Approved :: BSD License
          License :: OSI Approved :: GNU General Public License v3 (GPLv3)
  
          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************
  
  !!
    self._finalize_license_expression()
  running bdist_wheel
  running build
  running build_ext
  Compiling hid.pyx because it changed.
  [1/1] Cythonizing hid.pyx
  building 'hid' extension
  error: unknown file type '.pxd' (from 'chid.pxd')
  [end of output]

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

× Failed to build installable wheels for some pyproject.toml based projects
╰─> hidapi

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions