Pierre Neidhardt <[email protected]> writes: > electrum yields the following error on startup: > > > electrum > Error: No module named 'qrcode'. Try 'sudo pip install <module-name>' > > python-qrcode is correctly specified as input in the package's > declaration: > > --8<---------------cut here---------------start------------->8--- >> guix package --show=electrum > name: electrum > version: 3.0.5 > outputs: out > systems: x86_64-linux i686-linux armhf-linux aarch64-linux > dependencies: python-dnspython-1.15.0 python-ecdsa-0.13 > python-jsonrpclib-pelix-0.3.1 python-pbkdf2-1.3 python-protobuf-3.5.2 > python-pyaes-1.6.1 python-pyqt-5.9 python-pysocks-1.6.7 > + python-qrcode-6.0 python-requests-2.13.0 python-sip-4.19.3 > location: gnu/packages/finance.scm:275:2 > homepage: https://electrum.org/ > license: Expat > synopsis: Bitcoin wallet > description: Electrum is a lightweight Bitcoin client, based on a > client-server protocol. It supports Simple Payment Verification (SPV) and > deterministic key generation from a seed. Your > + secret keys are encrypted and are never sent to other machines/servers. > Electrum does not download the Bitcoin blockchain. > --8<---------------cut here---------------end--------------->8--- > > Any clue?
There was an issue with the upgrade of the python-qrcode package from
version 5.3 to 6.0 [1], which meant that the output didn't actually
contain any code [2], hence the error you are seeing.
I've just pushed a fix to the package [3], so if you update Guix (by
running guix pull, or otherwise) and then upgrade electrum, that should
resolve the issue.
1: d1f1a7a0b15bddb05ac4b0e817e9ad855982df11: gnu: python-qrcode: Update
to 6.0.
2:
/gnu/store/i1s4hay6sxl4rfagk12d1i89za432vyb-python-qrcode-6.0
├── lib
│ └── python3.6
│ └── site-packages
│ └── UNKNOWN-0.0.0-py3.6.egg-info
│ ├── dependency_links.txt
│ ├── PKG-INFO
│ ├── SOURCES.txt
│ └── top_level.txt
└── share
├── doc
│ └── python-qrcode-6.0
│ └── LICENSE
└── man
└── man1
└── qr.1.gz
9 directories, 6 files
3: d6ed49ba3fbcb6ae522acb3757f93ca8da01648f: gnu: python-qrcode: Use a
newer version of setuptools.
signature.asc
Description: PGP signature
