2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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 :
beantwortet vor einem Jahr
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'.
beantwortet vor 9 Monaten
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 4 Monaten
- AWS OFFICIALAktualisiert vor 3 Jahren
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