Hi Team,
While importing above library, I'm getting below error
ImportError: dynamic module does not define module export function (PyInit__regex)
Any ideas why?
@akhilmahla what version of Python are you using when importing the library?
I'm using python 3.6.8
I'm getting this error while AnalyzerEngine trying to import regex package. I tried importing regex package separately and I got below error
Import regex
ImportError Traceback (most recent call last) <ipython-input-1-db3191260c89> in <module> 1 from ayx import Alteryx 2 ----> 3 import regex c:\program files\alteryx\alteryx designer 2019.4\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\regex\__init__.py in <module> ----> 1 from .regex import * 2 from . import regex 3 __all__ = regex.__all__ c:\program files\alteryx\alteryx designer 2019.4\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\regex\regex.py in <module> 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 files\alteryx\alteryx designer 2019.4\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\regex\_regex_core.py in <module> 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)
@akhilmahla are you importing the function for that specific version of Python?
Yes
@akhilmahla might be worth raising a support ticket to support@alteryx.com and I will have a look in parallel also.
User | Count |
---|---|
107 | |
82 | |
70 | |
54 | |
40 |