guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] gnu: Update python2-qrcode


From: Ben Woodcroft
Subject: Re: [PATCH 2/2] gnu: Update python2-qrcode
Date: Sat, 18 Jun 2016 15:31:59 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

Hi Daniel,

On 18/06/16 09:40, Daniel Pimentel wrote:
* gnu/packages/python.scm (python2-qrcode): New variable.

Thanks for the updated patch. In future would you mind sending the whole patch like as attached? It just makes things easier - thanks.

I noticed that the sha256 did not change, so I changed the source field. But perhaps more problematically, I couldn't get the example in the README to work. Do you know if this is a problem with the library itself or the packing of it?

$ ./pre-inst-env guix environment --pure --ad-hoc python2-qrcode address@hidden
...
$ python
Python 2.7.10 (default, Jan  1 1970, 00:00:01)
[GCC 4.9.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import qrcode
img = qrcode.make('Some data here')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
File "/gnu/store/n205hrfqrc0mp1csbh44mxpm19hrggld-profile/lib/python2.7/site-packages/qrcode-5.3-py2.7.egg/qrcode/main.py", line 11, in make File "/gnu/store/n205hrfqrc0mp1csbh44mxpm19hrggld-profile/lib/python2.7/site-packages/qrcode-5.3-py2.7.egg/qrcode/main.py", line 271, in make_image File "/gnu/store/n205hrfqrc0mp1csbh44mxpm19hrggld-profile/lib/python2.7/site-packages/qrcode-5.3-py2.7.egg/qrcode/image/pil.py", line 8, in <module>
ImportError: No module named Image


Attachment: 0001-gnu-Add-python2-qrcode.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]