Open dec1 opened 6 years ago
https://github.com/spesmilo/electrum/issues/1780 seems to indicate some systems may need to install dnspython instead.
This is untested.
This doesn't help.
> sudo pip3 install dnspython
Requirement already satisfied: dnspython in /usr/lib/python3.6/site-packages
> sudo pip3 install dns
Collecting dns
Could not find a version that satisfies the requirement dns (from versions: )
No matching distribution found for dns
I also additionally installed the following via yast, but to no further avail (based on the comment by popey at spesmilo/electrum#1780
python3-dnspython python3-qrcode python3-pbkdf2 python3-protobuf python3-jsonrpclib-pelix
python-slowaes
Could it be a problem with the code snapshot? See https://github.com/spesmilo/electrum/issues/3711
Also the README.rst file in the source zip/tar.gz says that after installing the qt dependencies
If you downloaded the official package (tar.gz), you can run Electrum from its root directory, without installing it on your system; all the python dependencies are included in the 'packages' directory. To run Electrum from its root directory, just do::
./electrum-nebl
So most of the above should be unnecessary anyways.
So either the readme is misleading or the instructions on the website
The instructions for linux only seem to apply to debian based systems. On my OpenSuse (Tumblweed) machine here's what I tried:
Installed python3-qt4-devel - PyQt - devel part of python bindings for Qt 4 (This package provides /usr/bin/pyrcc4)
Ran
pyrcc4 icons.qrc -o gui/qt/icons_rc.py
Installed protobuf-devel - Header files, libraries and development documentation for protobuf (This package provides /usr/bin/protoc)
Ran
protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto
output:[libprotobuf WARNING google/protobuf/compiler/parser.cc:546] No syntax specified for the proto file: paymentrequest.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
Ran
./electrum-nebl
output:error: No module named dns. Try 'sudo pip install <module-name>'
Ran
sudo pip3 install dns
output:Collecting dns Could not find a version that satisfies the requirement dns (from versions: ) No matching distribution found for dns