2 Respuestas
- Más nuevo
- Más votos
- Más comentarios
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 :
respondido hace un año
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'.
respondido hace 9 meses
Contenido relevante
- OFICIAL DE AWSActualizada hace 4 meses
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 2 años
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