Following is the commands execution sequence on my bash shell.
As per docs regex-engine requires python 3.6 or newer.
$ python --version
Python 3.8.10
$ pip install regex-engine
Defaulting to user installation because normal site-packages is not writeable
Collecting regex-engine
Downloading regex_engine-1.1.0-py3-none-any.whl (7.0 kB)
Installing collected packages: regex-engine
Successfully installed regex-engine-1.1.0
WARNING: There was an error checking the latest version of pip.
$ pip install regex-engine
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: regex-engine in ./.local/lib/python3.8/site-packages (1.1.0)
WARNING: There was an error checking the latest version of pip.
$ python -m pip install --upgrade pip
Requirement already satisfied: pip in ./venv/amds/lib/python3.8/site-packages (22.1.2)
$ python
Python 3.8.10 (default, Mar 15 2022, 12:22:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from regex_engine import generator
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'regex_engine'
Following is the commands execution sequence on my bash shell.
As per docs
regex-enginerequires python 3.6 or newer.