【问题标题】:How to fix 'Tweet' object has no attribute 'LikesCount'如何修复“Tweet”对象没有“LikesCount”属性
【发布时间】:2022-06-12 23:54:24
【问题描述】:

我在推特上使用 snsscrape。

我想提取点赞和转推,但“snscrape”的版本有问题

我试过了:

$ pip3 install git+https://github.com/JustAnotherArchivist/snscrape.git ... $ pip3 列表 | grep 抓取 snscrape 0.3.5.dev138+ga6b6f3f

我有这个错误:

错误:包“snscrape”需要不同的 Python:3.7.11 不在“~=3.8”中

我有 3.7.11 版本,所以我有点不明白他为什么这么说。


我也试过这个替代方案,但我也有这个问题

pip install snscrape==0.4.3.20220106

错误:忽略了以下需要不同 python 版本的版本:0.4.0.20211208 Requires-Python ~=3.8; 0.4.1.20211214 需要-Python ~=3.8; 0.4.2.20211215 需要-Python ~=3.8; 0.4.3.20220106 需要-Python ~=3.8 错误:找不到满足 snscrape==0.4.3.20220106 要求的版本(来自版本:0.1.3、0.2.0、0.3.0、0.3.1、0.3.2、0.3.3、0.3.4) 错误:未找到 snscrape==0.4.3.20220106 的匹配分布

有人可以帮帮我吗?

【问题讨论】:

  • 您需要 Python 3.8 才能使用它。错误是说你的 Python 不兼容。

标签: python tweepy


猜你喜欢
  • 2019-10-12
  • 2022-08-06
  • 1970-01-01
  • 2019-12-08
  • 2018-03-09
  • 1970-01-01
  • 1970-01-01
  • 2023-03-09
  • 2023-03-21
相关资源
最近更新 更多