首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >从requests_html导入ModuleNotFoundError:没有名为“requests_html”的模块

从requests_html导入ModuleNotFoundError:没有名为“requests_html”的模块
EN

Stack Overflow用户
提问于 2022-03-25 11:36:15
回答 1查看 1.1K关注 0票数 -1
代码语言:javascript
运行
复制
[enter image description here][1]


  [1]: https://i.stack.imgur.com/Pt031.png
instagram.py  LICENSE  Pipfile       README.md
                                                                            
┌──(kali㉿kali)-[~/Music/Instagram]
└─$ python3 instagram.py lory.nar09 password.txt
Traceback (most recent call last):
  File "/home/kali/Music/Instagram/instagram.py", line 10, in <module>
    from lib.proxy_manager import ProxyManager
  File "/home/kali/Music/Instagram/lib/proxy_manager.py", line 16, in <module>
    from requests_html import HTMLSession
ModuleNotFoundError: No module named 'requests_html'
                                                                            
┌──(kali㉿kali)-[~/Music/Instagram]
└─$ password.txt3 install requests-html         
password.txt3: command not found
                                                                            
┌──(kali㉿kali)-[~/Music/Instagram]
└─$ install requests-html              
install: missing destination file operand after 'requests-html'
Try 'install --help' for more information.

我该怎么解决?我想尝试的instagram字典攻击只是作为一个测试,但我不能,因为我得到这个错误,我如何解决?

EN

Stack Overflow用户

回答已采纳

发布于 2022-03-25 12:02:52

在pip中使用下面的命令(您也可以不使用pip install requests-html部件运行python3 -m,但是这样做不会让您确定您已经安装了哪一个requests-html,以防系统上有多个)。

代码语言:javascript
运行
复制
python3 -m pip install requests-html

不知道你在用install requests-html做什么。Pip是常见的方法。

票数 1
EN
查看全部 1 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/71616329

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档