Hi Andrew.
Just tried the same on my Fedora 20 box at home, and
had exactly the same error.
The problem is easily discovered using:
rpm -ql python-qrtools
/qrtools.py
/usr/share/doc/python-qrtools
/usr/share/doc/python-qrtools/LICENCE
/usr/share/doc/python-qrtools/copyright
You will not that the qrtools.py ends up under the
root directory, not in the usual site-packages
directory /usr/lib/python2.7/site-packages/
I'm guessing the reason is that Fedora 20, and
probably Suse too, have python versions 2.7 and 3.3
both simultaneously installed, so the packager took
the lazy way out, leaving it up to the end user
to put qrtools.py in in a more sensible place.
I just moved qrtools.py to the above site-packages
directory, and away it went.
(It also doesn't seem to work under python3, probably
as the various other python modules are not present
under the /usr/lib/python3.3/site-packages/ directory.)
So give it a try and see how you go.
Regards,
Morrie.
From: luv-main [mailto:luv-main-bounces@luv.asn.au] On Behalf Of Andrew Greig
Sent: Monday, 2 February 2015 4:23 PM
To: LUV Main
Subject: QR code generator
Hi all,
Could I please get some advice concerning my failure to get the QtQR program running under SuSe 13.1
I have downloaded the rpm and installed qtqr as well as python-qrtools
I have no joy from the GUI "run" process
and from the cli I get
andrewg@andrewg:~> /usr/bin/qtqr
Traceback (most recent call last):
File "/usr/bin/qtqr", line 15, in <module>
from qrtools import QR
ImportError: No module named qrtools
andrewg@andrewg:~>
I tried modprobe but that command no longer works.
I have a project where I need to generate around 350 different QR codes, all of the same format.
And then I need to print them in such a way as to recognise each label easily to correctly locate them.
Thanks
Andrew Greig