Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
732 views
in Technique[技术] by (71.8m points)

python 3.x - ImportError: dynamic module does not define module export function (pyinit_ regex)

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...