Chatbot-using-Python icon indicating copy to clipboard operation
Chatbot-using-Python copied to clipboard

Regex issue

Open AndreLaurin-cyber opened this issue 2 years ago • 0 comments

What version of python are you using for this chatbot? I tried using python 3.9.0a4 and keep getting these errors: (env) C:\Projects\Chatbot-using-Python-master>python train_chatbot.py Traceback (most recent call last): File "C:\Projects\Chatbot-using-Python-master\train_chatbot.py", line 3, in import nltk File "C:\Projects\Chatbot-using-Python-master\env\lib\site-packages\nltk_init_.py", line 138, in from nltk.text import * File "C:\Projects\Chatbot-using-Python-master\env\lib\site-packages\nltk\text.py", line 29, in from nltk.tokenize import sent_tokenize File "C:\Projects\Chatbot-using-Python-master\env\lib\site-packages\nltk\tokenize_init_.py", line 65, in from nltk.tokenize.casual import TweetTokenizer, casual_tokenize File "C:\Projects\Chatbot-using-Python-master\env\lib\site-packages\nltk\tokenize\casual.py", line 49, in import regex # https://github.com/nltk/nltk/issues/2409 File "C:\Projects\Chatbot-using-Python-master\env\lib\site-packages\regex_init_.py", line 1, in from .regex import * File "C:\Projects\Chatbot-using-Python-master\env\lib\site-packages\regex\regex.py", line 421, in import regex._regex_core as _regex_core File "C:\Projects\Chatbot-using-Python-master\env\lib\site-packages\regex_regex_core.py", line 21, in import regex._regex as _regex ImportError: DLL load failed while importing _regex: The specified procedure could not be found.

(env) C:\Projects\Chatbot-using-Python-master>python Python 3.9.0a4 (tags/v3.9.0a4:6e02691, Feb 25 2020, 23:23:54) [MSC v.1916 64 bit (AMD64)] on win32

Thank you for any response :)

AndreLaurin-cyber avatar Jan 30 '23 22:01 AndreLaurin-cyber