2 Answers
- Newest
- Most votes
- Most comments
1
Hello, Thank you for your query.
As you are getting error as ‘ No module named 'regex._regex’. This error generally occurs when the ‘regex’ module is not installed. For this you need to install ‘regex’ module. You can try the following command for installing the ‘regex’ module.
pip install regex
Or
pip install -U regex
Hope that after installing the regex package you will not encounter with the error. If problem still persists please open a support case with AWS using the following link: https://console.aws.amazon.com/support/home#/case/create
References :
answered a year ago
0
Which version of the regex should I install? Please provide me the command. I tried regex>=2021.8.3 and regex-2023.8.8 but it didn't worked. I am still getting the AWS Lambda nltk error: No module named 'regex._regex'.
answered 8 months ago
Relevant content
- asked 8 months ago
- asked a year ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago
It has worked. The solution is given in the link you shared : https://github.com/nltk/nltk/issues/2870 Adding regex>=2021.8.3 in the requirements file. Thanks