1 问题原因
模块版本不适配,需要卸载现有版本然后安装适配版本。
报错“c:\python\python37\lib\site-packages\dirsearch\thirdparty\requests_init_.py:90: RequestsDependencyWarning: urllib3 (1.25.11) or chardet (5.0.0) doesn’t match a supported version!
RequestsDependencyWarning)”
2.解决办法
2.1卸载当前的版本
pip3 uninstall urllib3
pip3 uninstall chardert
2.2安装适配版本
pip3 install "chardet<3.1.0"
pip3 install "urllib3<=1.25"
3.查看结果
已恢复正常