I'm trying to import regex package in Python. But I'm getting above error. I tried reinstalling the library. Still getting the same error.
Import regex
ImportError
Traceback (most recent call last)
in
1 from ayx import Alteryx
2
----> 3 import regex
c:program filesalteryxalteryx designer 2019.4inminiconda3envsjupytertool_venvlibsite-packages
egex_init_.py in
----> 1 from .regex import *
2 from . import regex 3 __all__ = regex.__all__
c:program filesalteryxalteryx designer 2019.4inminiconda3envsjupytertool_venvlibsite-packages
egex
egex.py in
417 # Internals.
418
--> 419 import regex._regex_core as _regex_core
420 import regex._regex as _regex
421 from threading import RLock as _RLock
c:program filesalteryxalteryx designer 2019.4inminiconda3envsjupytertool_venvlibsite-packages
egex_regex_core.py in
19 from collections import defaultdict
20
---> 21 import regex._regex as _regex
22
23 __all__ = ["A", "ASCII", "B", "BESTMATCH", "D", "DEBUG", "E", "ENHANCEMATCH",
ImportError: dynamic module does not define module export function (PyInit__regex)
question from:
https://stackoverflow.com/questions/65918562/importerror-dynamic-module-does-not-define-module-export-function-pyinit-rege 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…