from requests_html import ModuleNotFoundError: No module named 'requests_html'

from requests_html import ModuleNotFoundError: No module named 'requests_html'

[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 字典攻击作为测试,但我不能,因为我收到此错误,我该如何解决?

对 pip 使用以下命令(您也可以只 运行 pip install requests-html 而没有 python3 -m 部分,但这样做不会让您确定哪个 Python 你已经安装了 requests-html 以防你的系统上有多个)。

python3 -m pip install requests-html

不确定您要使用 install requests-html 做什么。 Pip 是常见的方式。