Bitcoin Forum

Bitcoin => Electrum => Topic started by: rebeltaz on February 15, 2016, 04:30:47 AM



Title: Electrum no longer runs - No module named google.protobuf
Post by: rebeltaz on February 15, 2016, 04:30:47 AM
I haven't used Electrum in a while, but when I tried to run it tonight, I got:

Error: No module named google.protobuf. Try 'sudo pip install <module-name>'


I tried to reinstall the electrum package (Ubuntu 14.04LTS) but that didn't help. Yeah... I know that is not what the error said to do, but I do not like google and don't go randomly installing ANYTHING google on my system. Why is this now happening when it used to run just fine?

Thanks.


Title: Re: Electrum no longer runs - No module named google.protobuf
Post by: rokkyroad on February 15, 2016, 05:01:20 AM
I run Electrum on a similar OS. How did you install Electrum? With sudo pip install ...? And the required python dependencies?

I can't help you but am going to watch this thread. That error is concerning and you were right not to install google.protobuf.


Title: Re: Electrum no longer runs - No module named google.protobuf
Post by: rebeltaz on February 16, 2016, 03:02:07 AM
I used "sudo apt-get install" both originally and, adding --reinstall,  last night. I don't know if this matters, but I believe I was running either Ubuntu 10.04LTS or 12.04 when I first installed Electrum. I have since "upgraded" to 14.04LTS, so...


Title: Re: Electrum no longer runs - No module named google.protobuf
Post by: twister on February 16, 2016, 11:03:00 AM
I used "sudo apt-get install" both originally and, adding --reinstall,  last night. I don't know if this matters, but I believe I was running either Ubuntu 10.04LTS or 12.04 when I first installed Electrum. I have since "upgraded" to 14.04LTS, so...

Not sure what it is but when you do the apt-get install, the package is downloaded from the repository and it is a very older version, when you do the pip install the electrum is downloaded from the website which is the latest version.


Title: Re: Electrum no longer runs - No module named google.protobuf
Post by: rebeltaz on February 17, 2016, 07:18:59 AM
I used "sudo apt-get install" both originally and, adding --reinstall,  last night. I don't know if this matters, but I believe I was running either Ubuntu 10.04LTS or 12.04 when I first installed Electrum. I have since "upgraded" to 14.04LTS, so...

Not sure what it is but when you do the apt-get install, the package is downloaded from the repository and it is a very older version, when you do the pip install the electrum is downloaded from the website which is the latest version.

I did not know that. When I ran pip instead of apt, it did an install of protobuf and Electrum seems to be running fine now. Thanks guys.