python3安装qrcode
(reptile) C:\Users\Administrator\PycharmProjects\untitled26>pip3 install PIL
Collecting PIL
Could not find a version that satisfies the requirement PIL (from versions: )
No matching distribution found for PIL
由于用的是python3.6的版本,导入PIL时,说没有找到匹配的PIL分布,是因为python3中已经将PIL去掉了,改为了pillow,
python3以上的版本安装qrcode时,用如下命令:
1.pip3 install pillow -i https://pypi.douban.com/simple
2.pip3 install qrcode -i https://pypi.douban.com/simple
-i https://pypi.douban.com/simple 具体功能请去https://www.cnblogs.com/hellojesson/p/6431398.html