python itchat库安装_操作微信-itchat库的安装

基于pyCharm开发环境,在CMD控制台输入:pip install itchat      等待安装......

Microsoft Windows [版本 6.1.7601]

版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>pip install itchat

Collecting itchat

Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connec

tion broken by 'ConnectTimeoutError(

ction.VerifiedHTTPSConnection object at 0x0000000003C39898>, 'Connection to file

s.pythonhosted.org timed out. (connect timeout=15)')': /packages/57/99/20dde4bee

645453d1453ae3757b49f24a5fd179ce6e391cf2542cfeac61c/itchat-1.3.10-py2.py3-none-a

ny.whl

Downloading https://files.pythonhosted.org/packages/57/99/20dde4bee645453d1453

ae3757b49f24a5fd179ce6e391cf2542cfeac61c/itchat-1.3.10-py2.py3-none-any.whl

Collecting pypng (from itchat)

Downloading https://files.pythonhosted.org/packages/0e/39/993a5feea8ed9c2eebd7

0c6e7c20cb4b0823588f5ab0afab4b0be95ebc23/pypng-0.0.19.tar.gz (293kB)

38% |████████████▎                   | 112kB 87kB/s eta 0:00:03

41% |█████████████▍                  | 122kB 80kB/s eta 0:00:0

45% |██████████████▌                 | 133kB 97kB/s eta 0:00:

48% |███████████████▋                | 143kB 103kB/s eta 0:0

52% |████████████████▊               | 153kB 87kB/s eta 0:0

55% |██████████████████              | 163kB 83kB/s eta 0:

59% |███████████████████             | 174kB 102kB/s eta

62% |████████████████████▏           | 184kB 93kB/s eta

66% |█████████████████████▎          | 194kB 93kB/s et

69% |██████████████████████▍         | 204kB 126kB/s

73% |███████████████████████▌        | 215kB 121kB/s

76% |████████████████████████▋       | 225kB 131kB/

80% |█████████████████████████▊      | 235kB 123kB

83% |██████████████████████████▉     | 245kB 107k

87% |████████████████████████████    | 256kB 146

90% |█████████████████████████████   | 266kB 10

94% |██████████████████████████████▏ | 276kB

97% |███████████████████████████████▎| 286kB

100% |████████████████████████████████| 296k

B 73kB/s

Collecting pyqrcode (from itchat)

Downloading https://files.pythonhosted.org/packages/37/61/f07226075c347897937d

4086ef8e55f0a62ae535e28069884ac68d979316/PyQRCode-1.2.1.tar.gz

Collecting requests (from itchat)

Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connec

tion broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', po

rt=443): Read timed out. (read timeout=15)",)': /simple/requests/

Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connec

tion broken by 'ConnectTimeoutError(

ction.VerifiedHTTPSConnection object at 0x0000000004098160>, 'Connection to pypi

.python.org timed out. (connect timeout=15)')': /simple/requests/

Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connec

tion broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.o

rg', port=443): Read timed out. (read timeout=15)",)': /packages/7d/e3/20f3d364d

6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none

-any.whl

Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connec

tion broken by 'ConnectTimeoutError(

ction.VerifiedHTTPSConnection object at 0x0000000004022DA0>, 'Connection to file

s.pythonhosted.org timed out. (connect timeout=15)')': /packages/7d/e3/20f3d364d

6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none

-any.whl

Downloading https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c

72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl (5

7kB)

52% |█████████████████               | 30kB 8.5kB/s eta 0:0

70% |██████████████████████▋         | 40kB 10kB/s et

88% |████████████████████████████▎   | 51kB 11k

100% |████████████████████████████████| 61kB

13kB/s

Collecting chardet<3.1.0,>=3.0.2 (from requests->itchat)

Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connec

tion broken by 'ConnectTimeoutError(

ction.VerifiedHTTPSConnection object at 0x0000000004098E80>, 'Connection to pypi

.python.org timed out. (connect timeout=15)')': /simple/chardet/

Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b648

7b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133

kB)

46% |██████████████▊                 | 61kB 12kB/s eta 0:00:0

53% |█████████████████▏              | 71kB 13kB/s eta 0:0

61% |███████████████████▋            | 81kB 15kB/s eta 0

69% |██████████████████████▏         | 92kB 16kB/s et

76% |████████████████████████▋       | 102kB 17kB/s

84% |███████████████████████████     | 112kB 16kB

92% |█████████████████████████████▌  | 122kB 1

99% |████████████████████████████████| 133kB

100% |████████████████████████████████| 143k

B 26kB/s

Collecting idna<2.9,>=2.5 (from requests->itchat)

Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connec

tion broken by 'ConnectTimeoutError(

ction.VerifiedHTTPSConnection object at 0x00000000043260B8>, 'Connection to pypi

.python.org timed out. (connect timeout=15)')': /simple/idna/

Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connec

tion broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', po

rt=443): Read timed out. (read timeout=15)",)': /simple/idna/

Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1c

f41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)

52% |████████████████▊               | 30kB 26kB/s eta 0:00

69% |██████████████████████▍         | 40kB 27kB/s et

87% |████████████████████████████    | 51kB 18kB

100% |████████████████████████████████| 61kB

22kB/s

Collecting urllib3<1.25,>=1.21.1 (from requests->itchat)

Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connec

tion broken by 'ConnectTimeoutError(

ction.VerifiedHTTPSConnection object at 0x0000000004095748>, 'Connection to pypi

.python.org timed out. (connect timeout=15)')': /simple/urllib3/

Downloading https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d

1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl (11

8kB)

43% |█████████████▉                  | 51kB 25kB/s eta 0:00:03

52% |████████████████▋               | 61kB 30kB/s eta 0:00

60% |███████████████████▍            | 71kB 31kB/s eta 0

69% |██████████████████████▏         | 81kB 33kB/s et

78% |█████████████████████████       | 92kB 35kB/s

86% |███████████████████████████▊    | 102kB 36k

95% |██████████████████████████████▌ | 112kB

100% |████████████████████████████████| 122k

B 37kB/s

Collecting certifi>=2017.4.17 (from requests->itchat)

Downloading https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e0

3827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl (

158kB)

45% |██████████████▌                 | 71kB 48kB/s eta 0:00:0

51% |████████████████▌               | 81kB 42kB/s eta 0:00

58% |██████████████████▋             | 92kB 47kB/s eta 0:

64% |████████████████████▋           | 102kB 53kB/s eta

71% |██████████████████████▊         | 112kB 65kB/s e

77% |████████████████████████▉       | 122kB 53kB/s

83% |██████████████████████████▉     | 133kB 51kB

90% |█████████████████████████████   | 143kB 60

96% |███████████████████████████████ | 153kB

100% |████████████████████████████████| 163k

B 58kB/s

Installing collected packages: pypng, pyqrcode, chardet, idna, urllib3, certifi,

requests, itchat

Running setup.py install for pypng ... done

Running setup.py install for pyqrcode ... done

Successfully installed certifi-2019.3.9 chardet-3.0.4 idna-2.8 itchat-1.3.10 pyp

ng-0.0.19 pyqrcode-1.2.1 requests-2.21.0 urllib3-1.24.1

C:\Users\Administrator

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值