Giter VIP home page Giter VIP logo

Comments (3)

frozenproof avatar frozenproof commented on May 28, 2024 1

Python 3.7.9 is the only functional version for this library now

from chatterbot.

jean0t avatar jean0t commented on May 28, 2024

Looks like the python it uses is older than what you have in your system.
I tried to install it today and when I did through github, it said that python 3.10 isn't in the supported range 3.4 till 3.8. To be honest I don't remember the lower limit, but it shows 3.8 as the max version supported

from chatterbot.

UsernameNo-001 avatar UsernameNo-001 commented on May 28, 2024

I've tried to use python version 3.6 but now it shows the following:

Traceback (most recent call last):
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\confection_init_.py", line 38, in
from pydantic.v1 import BaseModel, Extra, ValidationError, create_model
File "pydantic_init_.py", line 2, in init pydantic.init
File "pydantic\dataclasses.py", line 4, in init pydantic.dataclasses
import types
File "pydantic\error_wrappers.py", line 4, in init pydantic.error_wrappers
File "pydantic\json.py", line 12, in init pydantic.json
File "pydantic\types.py", line 28, in init pydantic.types
yield
File "pydantic\validators.py", line 9, in init pydantic.validators
ImportError: cannot import name Deque

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:/Users/billy/Chatbot.py", line 1, in
from chatterbot import ChatBot
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot_init_.py", line 4, in
from .chatterbot import ChatBot
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\chatterbot.py", line 2, in
from chatterbot.storage import StorageAdapter
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\storage_init_.py", line 1, in
from chatterbot.storage.storage_adapter import StorageAdapter
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\storage\storage_adapter.py", line 3, in
from chatterbot.tagging import PosLemmaTagger
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\tagging.py", line 3, in
import spacy
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\spacy_init_.py", line 6, in
from .errors import setup_default_warnings
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\spacy\errors.py", line 3, in
from .compat import Literal
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\spacy\compat.py", line 4, in
from thinc.util import copy_array
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\thinc_init_.py", line 5, in
from .config import registry
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\thinc\config.py", line 2, in
import confection
File "C:\Users\billy\AppData\Local\Programs\Python\Python36\lib\site-packages\confection_init_.py", line 42, in
from pydantic import BaseModel, create_model, ValidationError, Extra # type: ignore
File "pydantic_init_.py", line 2, in init pydantic.init
File "pydantic\dataclasses.py", line 4, in init pydantic.dataclasses
import types
File "pydantic\error_wrappers.py", line 4, in init pydantic.error_wrappers
File "pydantic\json.py", line 12, in init pydantic.json
File "pydantic\types.py", line 26, in init pydantic.types

ImportError: cannot import name errors

from chatterbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.