Closed hewers closed 3 years ago
Installation from pip
should pull in all required python dependencies, including pyscard. You probably no longer have the output of running the pip install
command, but do you recall if there were any errors during installation? Some additional packages are likely required on a fresh Ubuntu for the pyscard build to succeed. Of the top of my head I believe these are swig
and libpcsclite-dev
(both available via apt).
EDIT: Also note that pcscd
needs to be installed and running for any smartcard related functionality in ykman to work.
Ah! I did have a broken dependency when using apt to install the PPA release, for something like python3-yubikey-manager, 3.1.1-1 expected but 3.1.2-focal to be installed
I gave up on that and tried pip.
Thanks!
Ok, sounds like you may have had a broken install of pyscard then. Glad you got it working!
YubiKey Manager (ykman) version:
4.0.2
How was it installed?:
pip
Operating system and version:
Linux 4.4.250 aarch64 / arm64, Ubuntu 20.04.2 LTS focal
YubiKey model and version:
5C
Bug description summary:
Fix:
sudo apt install python3-pyscard
I don't know enough about packages and dependencies. This is a bare-bones Ubuntu with almost no default packages. Maybe
python3-pyscard
needs to be added as ayubikey-manager
dependency?