I’m new to Python. I’m trying to run this script (gencards.py) in Windows, but he says I need to run “the qrencode command”. I assume that means this library, or the more likely the windows port.
In the python script, he uses qrencode as so:
os.system("qrencode -o .tempqr.png -s 30 -m 0 -l H " + serial)
I’ve installed the windows library via the executable, I added qrcode.exe to PATH, and tried editing gencards.py to use “qrcode” or “qrcode.exe” but I always get
'qrcode' is not recognized as an intrnal or external command, operable program or batch file.
What am I doing wrong?
I’m using Python 2.7 on Windows7 x64.
the error message means that Windows does not know what to do with
qrcode. Check if it’s installed in your system, and if it’s directory is included in yourPATHenvironment variable