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

1. No module named 'distutils.util' 2. cannot import name 'sre_parse' from 're' #394

Open
cornradio opened this issue Aug 19, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cornradio
Copy link

cornradio commented Aug 19, 2024

是否使用了最新代码

Bug描述
无法正常运行

运行环境

如何复现
正常按照教程安装并使用即可复现

修复方案
我这里提供一个修复方案,希望系统官方readme可以加入相关提示

我相信这个bug挺多人遇到的

  1. No module named 'distutils.util'
pip install setuptools
  1. cannot import name 'sre_parse' from 're'
pip uninstall exrex
pip install exrex
@cornradio cornradio added the bug Something isn't working label Aug 19, 2024
lovelyjuice pushed a commit to lovelyjuice/OneForAll that referenced this issue Sep 10, 2024
2. 允许用户不使用 tldextract 提取主域名,防止收集分公司域名时错误收集到主公司的域名
3. 升级exrex版本,兼容python3.12
4. 修复`No module named 'distutils.util'`的bug,关联issue: shmilylty#394
@KTear-2000
Copy link

good

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

3 participants