-
Notifications
You must be signed in to change notification settings - Fork 52
Description
File: [components/nitrokeys/nitrokey3/troubleshooting.rst] https://docs.nitrokey.com/components/nitrokeys/nitrokey3/troubleshooting.html
pip install pynitrokey[pcsc] --force
Collecting fire (from nkdfu->pynitrokey[pcsc])
Using cached fire-0.7.0.tar.gz (87 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
│ exit code: 1
╰─> [59 lines of output]
/home/xx/.local/lib/python3.10/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'requires_python'
warnings.warn(msg)
/home/xx/.local/lib/python3.10/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
/home/xx/.local/lib/python3.10/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
......
File "/home/xx/.local/lib/python3.10/site-packages/setuptools/_core_metadata.py", line 293, in _distribution_fullname
canonicalize_version(version, strip_trailing_zero=False),
TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
[end of output]
The problem lies in the setuptool dropping tests_require >version 70.
Fix: pip install setuptools==70
After this, nitropy nk3 piv gives some output
But this is not the best solution...