Bitcoin Forum

Bitcoin => Electrum => Topic started by: Coin-Keeper on August 23, 2018, 09:16:48 PM



Title: Electrum and Trezor issue
Post by: Coin-Keeper on August 23, 2018, 09:16:48 PM
I tried searching here and taking a look over at github.  Can't seem to find a solution that I can understand.  I am using Electrum on Debian with Trezor(s) one.  Its been awhile since I tried to use my Trezor(s).  The Debian Stretch OS is fully updated.  When I open Electrum (also updated) it throws the following error:

Library version for trezor is too old.
Installed: unknown
Needed: (0,9,0)
Make sure you install it with python 3

I wonder if I could add a source to the sources list to avoid this in the future.

I will mention that Electrum and Trezor has worked well for a long time.  After taking many months break something is out of date in the library and I don't know how to go grab it and install what is needed.  I don't want to be forced to use Trezor's official website, which works fine by the way.  Electrum is showing all the correct addresses and transaction history is fine.  Without connecting with the Trezor these wallets are effectively "watching only" because there is NO seed without access to the Trezor (obviously).  What files and/or terminal commands do I need to employ to get what is needed installed?  In advance, thank you for any guidance.  Feeling just a little lost here.


Title: Re: Electrum and Trezor issue
Post by: HCP on August 23, 2018, 09:55:57 PM
Have you tried following the instructions here: https://github.com/trezor/python-trezor#trezor-one-support

Also, what version of Electrum are you running?


Title: Re: Electrum and Trezor issue
Post by: bob123 on August 24, 2018, 05:21:28 PM
I wonder if I could add a source to the sources list to avoid this in the future.

Unfortunately not, since this package has to be installed using pip (since python3 is required: pip3), and not your local package manager.

But this command will update all outdated pip packages:
Code:
pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip3 install -U


If you are running a server and need electrum to always work flawlessely you might consider adding this command to your cron file (which tells the server to execute a given script at a given time/interval).


Title: Re: Electrum and Trezor issue
Post by: Coin-Keeper on August 24, 2018, 11:28:47 PM
Have you tried following the instructions here: https://github.com/trezor/python-trezor#trezor-one-support

Also, what version of Electrum are you running?

Thanks, working perfectly now.  Somehow I was missing Cython from my command line.  I used the command lines in your link and everything built fine.


I wonder if I could add a source to the sources list to avoid this in the future.

Unfortunately not, since this package has to be installed using pip (since python3 is required: pip3), and not your local package manager.

But this command will update all outdated pip packages:
Code:
pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip3 install -U


If you are running a server and need electrum to always work flawlessely you might consider adding this command to your cron file (which tells the server to execute a given script at a given time/interval).


I was running python updated already, but I didn't realize it couldn't be automated via a debian source list approach.  I get it now.



Thanks to both of you members!!