I'm seeing this too, even after running
Code:
apt-get install python-pyside
, which I would have expected should be a dependency of the package. I found a related bug report here at
https://github.com/Yubico/yubioath-desktop/issues/26, although it is for a different program.
However, following the work-around instructions in that bug report leads me to subsequent trouble:
Code:
Traceback (most recent call last):
File "/usr/bin/pivman", line 9, in <module>
load_entry_point('yubikey-piv-manager==1.3.0', 'gui_scripts', 'pivman')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/dist-packages/pivman/__main__.py", line 33, in <module>
from pivman.view.main import MainWidget
File "/usr/lib/python2.7/dist-packages/pivman/view/main.py", line 30, in <module>
from pivman.watcher import ControllerWatcher
File "/usr/lib/python2.7/dist-packages/pivman/watcher.py", line 29, in <module>
from pivman.controller import Controller
File "/usr/lib/python2.7/dist-packages/pivman/controller.py", line 35, in <module>
from hashlib import pbkdf2_hmac
ImportError: cannot import name pbkdf2_hmac
According to the hashlib docs, the available hashes depend on how python is linked against openssl. On my 14.04 system, python2's hashlib lacks pbkdf2_hmac, but python3's hashlib does have it. However, I cannot run pivman via python3 as it then cannot find other packages, like yubikey-piv-manager.
That's all I've got for now.