Skip to content

Pyscard is not available deprecated help #463

@Schnema1

Description

@Schnema1

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions