Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

出现了不存在的模块,即使已经安装好了 #325

Open
vFREE-1 opened this issue Jun 8, 2023 · 3 comments
Open

出现了不存在的模块,即使已经安装好了 #325

vFREE-1 opened this issue Jun 8, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@vFREE-1
Copy link

vFREE-1 commented Jun 8, 2023

是否使用了最新代码

Bug描述
提示re的模块ste_parse不存在,用的是python3的环境,且re已经存在;

运行环境

  • 系统:[Windows 10 x64](必写)
  • Python版本:[3.11. 1](必写)
  • OneForAll版本:[z](最新的)

如何复现
复现步骤(选写)
python3 oneforall.py xxxxxxxxxx

复现命令(必写)

报错文本
Traceback (most recent call last):
File "C:\Users\WIN10\Desktop\信息收集\OneForAll-master\oneforall.py", line 16, in
from brute import Brute
File "C:\Users\WIN10\Desktop\信息收集\OneForAll-master\brute.py", line 14, in
import exrex
File "C:\vFREE\python3\Lib\site-packages\exrex.py", line 25, in
from re import sre_parse, U
ImportError: cannot import name 'sre_parse' from 're' (C:\vFREE\python3\Lib\re_init_.py)

预期结果
清晰而简洁的预期结果描述(选写,如正常情况应该是怎么样的)

实际结果
清晰而简洁的实际结果描述(选写,如出现什么错误)

屏幕截图
完整OneForAll执行流程截图(建议上传)

日志上传
上传oneforall.log日志文件(复杂问题建议上传)

其他补充
关于bug的其他一些补充说明

@vFREE-1 vFREE-1 added the bug Something isn't working label Jun 8, 2023
@wNodi
Copy link

wNodi commented Jul 14, 2023

修改exrex.py文件,将from re import sre_parse, U改成import sre_parse

@17moonup
Copy link

補充一下,將exrex.py中的from re import sre_parse, U 改爲import parse加上from re import U

@Asxjdb
Copy link

Asxjdb commented May 19, 2024

在这个路径下面:/home/kali/.local/lib/python3.11/site-packages/exrex.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants