These are chat archives for littlecodersh/ItChat

15th
Mar 2016
Anthony Xu
@cabernet1976
Mar 15 2016 02:19
Hi
I cannot install ItChat on my mac os x
LittleCoder
@littlecodersh
Mar 15 2016 03:41
@cabernet1976 Sorry for that. What's the warning and what's your system version? I will try to fix this.
Anthony Xu
@cabernet1976
Mar 15 2016 04:32
OS X 10.11.3
Finally I install from the source code, but cannot open QR
It always display 'Getting uuid' and 'Getting QR Code', but cannot display the QR Code.
I have gotten and setted a tuling
LittleCoder
@littlecodersh
Mar 15 2016 04:38
Got it, and is there an exception raised or not?
Anthony Xu
@cabernet1976
Mar 15 2016 04:39
Have no excep
have no exception
LittleCoder
@littlecodersh
Mar 15 2016 04:43
Can you visit https://login.weixin.qq.com successfully?
You may delete try-except structure to make the exception shown.
LittleCoder
@littlecodersh
Mar 15 2016 04:48
get_QR
Anthony Xu
@cabernet1976
Mar 15 2016 05:07
I can visit web weixin
OK, I will delete the try-except
Getting QR CodeTraceback (most recent call last):
File "ItChat.py", line 27, in <module>
client.login()
File "/Users/anthonyxu/Downloads/ItChat-master/itchat/client.py", line 30, in login
if self.get_QR(): break
File "/Users/anthonyxu/Downloads/ItChat-master/itchat/client.py", line 66, in get_QR
q = QRCode(QR_DIR, 37, 3, 'BLACK')
File "/Users/anthonyxu/Downloads/ItChat-master/plugin/QRCode.py", line 12, in init
self.rgb = self.img.convert('RGB')
File "/Library/Python/2.7/site-packages/PIL/Image.py", line 679, in convert
self.load()
File "/Library/Python/2.7/site-packages/PIL/ImageFile.py", line 164, in load
self.load_prepare()
File "/Library/Python/2.7/site-packages/PIL/ImageFile.py", line 231, in load_prepare
self.im = Image.core.new(self.mode, self.size)
File "/Library/Python/2.7/site-packages/PIL/Image.py", line 37, in getattr
raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed
It seems lost PIL
LittleCoder
@littlecodersh
Mar 15 2016 05:14
Yes, you may simply add CMD_QRCODE = False on the 13th line to disable the QRCode plugin.
Anthony Xu
@cabernet1976
Mar 15 2016 05:16
OK
Anthony Xu
@cabernet1976
Mar 15 2016 05:30
Thanks
LittleCoder
@littlecodersh
Mar 15 2016 05:36
:)