Package Details: python-trezor 0.12.4-1

Git Clone URL: (read-only, click to copy)
Package Base: python-trezor
Description: Python 3 library for communicating with the TREZOR Bitcoin hardware wallet
Upstream URL:
Licenses: LGPL3
Conflicts: trezorctl
Provides: python-trezor, trezorctl
Submitter: xaiuweb
Maintainer: yate
Last Packager: yate
Votes: 6
Popularity: 0.007865
First Submitted: 2018-01-03 14:19
Last Updated: 2021-10-04 06:17

Latest Comments

agru commented on 2021-02-19 13:40

Please add python-attrs to the list of dependencies.

File "/usr/lib/python3.9/site-packages/trezorlib/", line 5, in <module>
  import attr
ModuleNotFoundError: No module named 'attr'

veox commented on 2020-01-15 05:31

Repo in the "Upstream URL" has been archived, with message:

Don't use this repo, use the new monorepo instead:

(Looks like it's under the python dir there.)

lash commented on 2019-12-06 10:37

Version 0.11.5-1, got;

pkg_resources.DistributionNotFound: The 'libusb1>=1.6.4' distribution was not found and is required by trezor
pkg_resources.DistributionNotFound: The 'mnemonic>=0.17' distribution was not found and is required by trezor

Perhaps put version constraints in depend?

yate commented on 2018-12-28 21:09

I fixed the construct error, but the typing_extensions issue will take a bit longer because there is no package in the AUR. I will take a look in a couple days, currently on vacation.

ndr76 commented on 2018-12-28 12:10

$ trezorctl list                                             [3/2000]
Traceback (most recent call last):
  File "/bin/trezorctl", line 1793, in <module>
    cli()  # pylint: disable=E1120
  File "/usr/lib/python3.7/site-packages/click/", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/click/", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.7/site-packages/click/", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.7/site-packages/click/", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.7/site-packages/click/", line 555, in invoke
    return callback(*args, **kwargs)
  File "/bin/trezorctl", line 176, in ls
    return enumerate_devices()
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/", line 118, in enumerate_dev
    for transport in all_transports():
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/", line 105, in all_transport
    from .hid import HidTransport
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/", line 23, in <module>
    from .protocol import ProtocolBasedTransport, ProtocolV1
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/", line 23, in <module>
    from typing_extensions import Protocol as StructuralType
ModuleNotFoundError: No module named 'typing_extensions'

This looks like one more dependency that is missing.

ndr76 commented on 2018-12-28 11:46

$ trezorctl
Traceback (most recent call last):
  File "/bin/trezorctl", line 31, in <module>
    from trezorlib import (
  File "/usr/lib/python3.7/site-packages/trezorlib/", line 21, in <module>
    import construct as c
ModuleNotFoundError: No module named 'construct'

Installing the module python-construct fixed the problem for me. Perhaps it should be added as a dependency?

pizzaman commented on 2018-07-14 14:07

$ trezorctl 
Traceback (most recent call last):
  File "/usr/bin/trezorctl", line 25, in <module>
    import click
ModuleNotFoundError: No module named 'click'

Please add python-click to list of dependencies.

pizzaman commented on 2018-05-14 04:31

Version 0.9.1 working PKGBUILD