README should add 'sudo apt-get install python-pip' and 'sudo pip install service_identity' to package install list
See original GitHub issueTo install on a Raspberry Pi (and maybe other debian distros) I needed to also do:
sudo apt-get install python-pip
I also saw the following error on first use:
$ wormhole receive
:0: UserWarning: You do not have a working installation of the service_identity module: 'No module named service_identity'. Please install it from <https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied. Without the service_identity module and a recent enough pyOpenSSL to support it, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected.
Enter receive wormhole code: 4-retrieval-atlas
Receiving file (1253 bytes) into: cert.pem
ok? (y/n): y
...
Running sudo pip install service_identity
resolved this issue on future runs.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6
Top Results From Across the Web
README should add 'sudo apt-get install python-pip ... - GitHub
README should add 'sudo apt-get install python-pip' and 'sudo pip install service_identity' to package install list #89.
Read more >Installing packages using pip and virtual environments
Installing packages using pip and virtual environments¶. This guide discusses how to install packages using pip and a virtual environment manager: either ...
Read more >How to Install Python PIP on Windows, Mac, and Linux
We'll show you how to install PIP for Python in Windows, Mac, ... this directory to the system PATH, so you don't have...
Read more >odoo10-addon-report-py3o-fusion-server - Python package | Snyk
This module was written to let a py3o fusion server handle format conversion instead of local libreoffice. If you install this module above...
Read more >General Installation - argofloats docs - Samapriya Roy
This assumes that you have native python & pip installed in your system, ... sudo add-apt-repository ppa:ubuntugis/ppa && sudo apt-get update sudo apt-get...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It looks like modern Twisted tests for
service_identity
as soon astwisted.internet.endpoints
is imported, which magic-wormhole does all the time. So even though we aren’t yet using TLS, we need it installed to avoid the warning.I guess I’ll change the twisted dependency to be
twisted[tls]
, which will pull in service-identity (or whatever other libraries Twisted decides it needs in the future). That will pull in a bunch of new requirements (some ASN1 modules,pyopenssl
, andcryptography
which has binary components), which is a drag. But I guess we’ll be moving the rendezvous server connection to TLS eventually, just on general principles, so we might as well bite the dependency bullet now.@SpEcHiDe I’m not sure why a bad time would cause a request to install a package. Of course I can’t go back in time to check the state the RPi was in at the moment, but I do run ntpd on that device. It currently reports time in sync, which I am pretty sure it would have been when I reported this as well.