Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation problems with Python 3.13 #610

Open
robin-nitrokey opened this issue Jan 10, 2025 · 0 comments
Open

Installation problems with Python 3.13 #610

robin-nitrokey opened this issue Jan 10, 2025 · 0 comments

Comments

@robin-nitrokey
Copy link
Member

robin-nitrokey commented Jan 10, 2025

Normally, dependencies are installed using binaries (wheels) from the Python Package Index (PyPI). Unfortunately, the hidapi dependency version that we are currently using does not provide wheels for Python 3.13. This means that installing or upgrading pynitrokey using Python 3.13 can fail if the build dependencies for hidapi are not available.

The easiest workaround is to install the missing build dependencies: gcc and the development headers for Python and libudev.

The required additional packages are:

  • Arch Linux: gcc
  • Fedora: gcc python3-devel systemd-devel

The packages can be removed after pynitrokey has been installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant