twikit icon indicating copy to clipboard operation
twikit copied to clipboard

来个大佬,帮帮我!!运行不起来啊

Open 18140143067 opened this issue 9 months ago • 11 comments

PS E:\projects\mask3> python mask_twitter_monitor/monitor.py Traceback (most recent call last): File "E:\projects\mask3\mask_twitter_monitor\monitor.py", line 16, in client = Client('en-US') ^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\twikit\client\client.py", line 107, in init self.http = AsyncClient(proxy=proxy, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: AsyncClient.init() got an unexpected keyword argument 'proxy' PS E:\projects\mask3>

18140143067 avatar Mar 14 '25 00:03 18140143067

加一层代理就跑起来了,亲测有效

wongxwellhk avatar Mar 14 '25 03:03 wongxwellhk

号被封了没有?

YonlinZ avatar Mar 19 '25 02:03 YonlinZ

加一层代理就跑起来了,亲测有效

请问你用的什么代理?我用了但是只能访问没被墙的网站,google,youtube原先被墙的还是无法访问

CharlesQHappy avatar Mar 26 '25 01:03 CharlesQHappy

pip install -U httpx

---原始邮件--- 发件人: @.> 发送时间: 2025年3月26日(周三) 上午9:24 收件人: @.>; 抄送: @.@.>; 主题: Re: [d60/twikit] 来个大佬,帮帮我!!运行不起来啊 (Issue #329)

加一层代理就跑起来了,亲测有效

请问你用的什么代理?我用了但是只能访问没被墙的网站,google,youtube原先被墙的还是无法访问

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***> CharlesQHappy left a comment (d60/twikit#329)

加一层代理就跑起来了,亲测有效

请问你用的什么代理?我用了但是只能访问没被墙的网站,google,youtube原先被墙的还是无法访问

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

18140143067 avatar Mar 26 '25 01:03 18140143067

请问你用了网络代理了没,用的哪家的?是在大陆访问成功的吗?我用了各种代理也连接不上

CharlesQHappy avatar Mar 27 '25 09:03 CharlesQHappy

开个梯子就行

---原始邮件--- 发件人: @.> 发送时间: 2025年3月27日(周四) 下午5:16 收件人: @.>; 抄送: @.@.>; 主题: Re: [d60/twikit] 来个大佬,帮帮我!!运行不起来啊 (Issue #329)

请问你用了网络代理了没,用的哪家的?是在大陆访问成功的吗?我用了各种代理也连接不上

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***> CharlesQHappy left a comment (d60/twikit#329)

请问你用了网络代理了没,用的哪家的?是在大陆访问成功的吗?我用了各种代理也连接不上

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

18140143067 avatar Mar 27 '25 10:03 18140143067

开个梯子就行

为啥我开了还是 httpcore.ConnectTimeout

CharlesQHappy avatar Mar 29 '25 01:03 CharlesQHappy

感觉是你的配置问题,少安装了一些东西,pip install -U httpx   然后再根据报错继续安装别的,记得全程开梯子,安装完了以后,在运行脚本文件

---原始邮件--- 发件人: @.> 发送时间: 2025年3月29日(周六) 上午9:19 收件人: @.>; 抄送: @.@.>; 主题: Re: [d60/twikit] 来个大佬,帮帮我!!运行不起来啊 (Issue #329)

开个梯子就行 …

为啥我开了还是 httpcore.ConnectTimeout

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***> CharlesQHappy left a comment (d60/twikit#329)

开个梯子就行 …

为啥我开了还是 httpcore.ConnectTimeout

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

18140143067 avatar Mar 29 '25 01:03 18140143067

我是个python新手,“pip install -U httpx   ”这是安装命令还是啥,这个命令会直接报错。

CharlesQHappy avatar Mar 29 '25 01:03 CharlesQHappy

还有这个东西看官方文档也没啥配置要求吧?安装后直接填写自己的账号信息使用test.py测试就行吧

CharlesQHappy avatar Mar 29 '25 01:03 CharlesQHappy

After swithing to a new vpn, it worked! But new problem "We were unable to confirm you're human"

CharlesQHappy avatar Mar 29 '25 01:03 CharlesQHappy