shmilylty / OneForAll

OneForAll是一款功能强大的子域收集工具
GNU General Public License v3.0
7.93k stars 1.27k forks source link

i can't finish installation #344

Open Hamada104 opened 10 months ago

Hamada104 commented 10 months ago

Whether the latest code is used Yes Bug description Clear and concise Bug description(required) Traceback (most recent call last): File "/root/tools/OneForAll/oneforall.py", line 16, in from brute import Brute File "/root/tools/OneForAll/brute.py", line 14, in import exrex File "/usr/local/lib/python3.11/dist-packages/exrex.py", line 25, in from re import sre_parse, U ImportError: cannot import name 'sre_parse' from 're' (/usr/lib/python3.11/re/init.py)

Operation environment

How to reproduce

  1. Step (optional)

  2. Command (python3 oneforall.py --help)

Error text Traceback (most recent call last): File "/root/tools/OneForAll/oneforall.py", line 16, in from brute import Brute File "/root/tools/OneForAll/brute.py", line 14, in import exrex File "/usr/local/lib/python3.11/dist-packages/exrex.py", line 25, in from re import sre_parse, U ImportError: cannot import name 'sre_parse' from 're' (/usr/lib/python3.11/re/init.py)

Expected results A clear and concise description of the expected results (optional, such as what a normal situation should look like)

Actual results A clear and concise description of the actual results (optional, such as any errors)

Screenshot Screenshot of complete OneForAll execution process (recommended upload)

Log upload Upload oneforall.log files (it is recommended to upload logs in case of complex problems)

Supplementary information Some other supplementary notes about bug

quantum2274 commented 8 months ago

I got the same issue and fixed it by doing the following: