You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[在这里粘贴完整日志]
Traceback (most recent call last):
File "D:\LinkSpace\Work\WorkSpace\Code\PyCharm\PythonProject\wx\analysis_friends.py", line 1, in <module>
import itchat
File "D:\LinkSpace\Work\WorkSpace\Code\PyCharm\PythonProject\venv\lib\site-packages\itchat\__init__.py", line 2, in <module>
from .core import Core
File "D:\LinkSpace\Work\WorkSpace\Code\PyCharm\PythonProject\venv\lib\site-packages\itchat\core.py", line 6, in <module>
from .components import load_components
File "D:\LinkSpace\Work\WorkSpace\Code\PyCharm\PythonProject\venv\lib\site-packages\itchat\components\__init__.py", line 3, in <module>
from .login import load_login
File "D:\LinkSpace\Work\WorkSpace\Code\PyCharm\PythonProject\venv\lib\site-packages\itchat\components\login.py", line 7, in <module>
from httplib import BadStatusLine
File "D:\LinkSpace\Work\WorkSpace\Code\PyCharm\PythonProject\venv\lib\site-packages\httplib.py", line 676
raise socket.error, "Tunnel connection failed: %d %s" % (code, message.strip())
^
SyntaxError: invalid syntax
❯ python -c "import itchat;print(itchat.__version__)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "D:\LinkSpace\Work\WorkSpace\Code\PyCharm\pythonProject\venv\lib\site-packages\itchat\__init__.py", line 2, in <module>
from .core import Core
File "D:\LinkSpace\Work\WorkSpace\Code\PyCharm\pythonProject\venv\lib\site-packages\itchat\core.py", line 6, in <module>
from .components import load_components
File "D:\LinkSpace\Work\WorkSpace\Code\PyCharm\pythonProject\venv\lib\site-packages\itchat\components\__init__.py", line 3, in <module>
from .login import load_login
File "D:\LinkSpace\Work\WorkSpace\Code\PyCharm\pythonProject\venv\lib\site-packages\itchat\components\login.py", line 7, in <module>
from httplib import BadStatusLine
File "D:\LinkSpace\Work\WorkSpace\Code\PyCharm\pythonProject\venv\lib\site-packages\httplib.py", line 676
raise socket.error, "Tunnel connection failed: %d %s" % (code, message.strip())
^
其他的内容或者问题更详细的描述都可以添加在下面:
[您的内容]
The text was updated successfully, but these errors were encountered:
在提交前,请确保您已经检查了以下内容!
itchat
登陆itchat
, 而不是其他项目.请使用
itchat.run(debug=True)
运行,并将输出粘贴在下面:您的itchat版本为:
[在这里填写版本号]
。(可通过python -c "import itchat;print(itchat.__version__)"
获取)获取版本时也出现了同样的报错:
其他的内容或者问题更详细的描述都可以添加在下面:
The text was updated successfully, but these errors were encountered: