Open VijayaLakshmiArthanari opened 5 years ago
Traceback (most recent call last):
File "", line 1, in runfile('D:/Resume_ProperCode(3.6)/Main_Code.py', wdir='D:/Resume_ProperCode(3.6)')
File "D:\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 705, in runfile execfile(filename, namespace)
File "D:\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile exec(compile(f.read(), filename, 'exec'), namespace)
File "D:/Resume_ProperCode(3.6)/Main_Code.py", line 25, in from Get_DOB import get_DOB
File "D:\Resume_ProperCode(3.6)\Get_DOB.py", line 4, in import datefinder
File "D:\Anaconda3\lib\site-packages\datefinder__init__.py", line 6, in from .constants import (
File "D:\Anaconda3\lib\site-packages\datefinder\constants.py", line 138, in DATES_PATTERN, re.IGNORECASE | re.MULTILINE | re.UNICODE | re.DOTALL | re.VERBOSE
File "D:\Anaconda3\lib\site-packages\regex.py", line 345, in compile return _compile(pattern, flags, kwargs)
File "D:\Anaconda3\lib\site-packages\regex.py", line 607, in _compile req_offset, req_chars, req_flags, info.group_count)
RuntimeError: invalid RE code
Error While importing the 'datefinder' package. Please help me to solve this issue.
I was solved my issue by just updating the regex module from 2.4.120 to 2.5.64 . It was solved this issue
Traceback (most recent call last):
File "", line 1, in
runfile('D:/Resume_ProperCode(3.6)/Main_Code.py', wdir='D:/Resume_ProperCode(3.6)')
File "D:\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 705, in runfile execfile(filename, namespace)
File "D:\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile exec(compile(f.read(), filename, 'exec'), namespace)
File "D:/Resume_ProperCode(3.6)/Main_Code.py", line 25, in
from Get_DOB import get_DOB
File "D:\Resume_ProperCode(3.6)\Get_DOB.py", line 4, in
import datefinder
File "D:\Anaconda3\lib\site-packages\datefinder__init__.py", line 6, in
from .constants import (
File "D:\Anaconda3\lib\site-packages\datefinder\constants.py", line 138, in
DATES_PATTERN, re.IGNORECASE | re.MULTILINE | re.UNICODE | re.DOTALL | re.VERBOSE
File "D:\Anaconda3\lib\site-packages\regex.py", line 345, in compile return _compile(pattern, flags, kwargs)
File "D:\Anaconda3\lib\site-packages\regex.py", line 607, in _compile req_offset, req_chars, req_flags, info.group_count)
RuntimeError: invalid RE code
Error While importing the 'datefinder' package. Please help me to solve this issue.