Skip to content

Regex issue #1

Description

@AndreLaurin-cyber

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 # nltk/nltk#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 :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions