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

AttributeError: module 'regex' has no attribute 'compile' and cannot run the code. #175

Open
mbukowski-splunk opened this issue Sep 15, 2022 · 0 comments

Comments

@mbukowski-splunk
Copy link

In a fresh env with python 3.10 when I import datefinder I get:

File "../venv/lib/python3.10/site-packages/datefinder/init.py", line 6, in
from .constants import (
File "../venv/lib/python3.10/site-packages/datefinder/constants.py", line 132, in
DATE_REGEX = re.compile(
AttributeError: module 'regex' has no attribute 'compile'

and I am not able to run the code.
I have reinstalled regex and had similar problem on python 3.9.
Please advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant