Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    AlenBasia
    @AlenBasia
    Try to reinstall chatterbot
    There are examples at the site https://chatterbot.readthedocs.io/en/stable/
    ahmet-soner
    @ahmet-soner
    %Run ChatBot.py
    Traceback (most recent call last):
    File "C:\Users\MYSTIC\Desktop\chatterbot-corpus-master\chatterbot-corpus-master\ChatBot.py", line 1, in <module>
    from chatterbot import ChatBot
    File "C:\Users\MYSTIC\AppData\Roaming\Python\Python37\site-packages\chatterbot__init.py", line 4, in <module>
    from .chatterbot import ChatBot
    File "C:\Users\MYSTIC\AppData\Roaming\Python\Python37\site-packages\chatterbot\chatterbot.py", line 2, in <module>
    from chatterbot.storage import StorageAdapter
    File "C:\Users\MYSTIC\AppData\Roaming\Python\Python37\site-packages\chatterbot\storage\
    init__.py", line 1, in <module>
    from chatterbot.storage.storage_adapter import StorageAdapter
    File "C:\Users\MYSTIC\AppData\Roaming\Python\Python37\site-packages\chatterbot\storage\storage_adapter.py", line 3, in <module>
    from chatterbot.tagging import PosLemmaTagger
    File "C:\Users\MYSTIC\AppData\Roaming\Python\Python37\site-packages\chatterbot\tagging.py", line 3, in <module>
    import spacy
    ModuleNotFoundError: No module named 'spacy'
    When installing the module named spacy I get an error to load
    Officially made me crazy
    thank you for your reply and kindness
    AlenBasia
    @AlenBasia
    You can try anaconda it handles all dependencies
    ahmet-soner
    @ahmet-soner
    Thank you so much
    I don't like anaconda, I do everything by itself, I can't control anything
    I don't like the visual studio environment in C # language, it's doing things in the background, I can't understand what you are doing as a developer.
    I'm sorry I don't have a foreign language, the translate is translating badly
    thank you again for your messages
    I will try to solve the spacy module problem, if not, I will not use chatterbot, my goal is to improve myself.
    ahmet-soner
    @ahmet-soner
    I managed to install Keras, Tensorflow, chatterbot and spacy modules
    but still
    Traceback (most recent call last):
    File "C: \ Users \ MYSTIC \ Desktop \ chatterbot \ ChatBot.py", line 1, in <module>
    from chatterbot import ChatBot
    File "C: \ Users \ MYSTIC \ Desktop \ chatterbot \ chatterbot.py", line 2, in <module>
    from chatterbot.storage import StorageAdapter
    ModuleNotFoundError: No module named 'chatterbot.storage'; 'chatterbot' is not a package
    I am getting the problem
    Very interesting, the strogeadapter is obsessed with me, I can't overcome this problem anyway, if I can solve this problem, I will take over the world :)
    AlenBasia
    @AlenBasia
    It looks like youre missing storage adapter
    Or you are using wrong the import line
    You dont need to import chatterbot.storage
    AlenBasia
    @AlenBasia
    Just use this line to create your bot “mybot= ChatBot()”
    from chatterbot import ChatBot
    mybot = ChatBot(“aname”, storage_adapter=‘chatterbot.storage.SQLStorageAdapter’)
    ahmet-soner
    @ahmet-soner
    StrogaAdapter başıma bela oldu
    Siz ChatBot.py isimli dosyayı nerede oluşturdunuz.
    Acaba yanlış dizindemi oluşturdum
    StrogaAdapter got me in trouble
    Where did you create the file called ChatBot.py?
    I wonder if I created my wrong directory, chatterbot/stroge içerisindemi newfile -->ChatBot.py isimli dosya oluşturuyorsunuz
    AlenBasia
    @AlenBasia
    You can create your main program wherever you want
    ahmet-soner
    @ahmet-soner
    %Run chatboy.py
    Traceback (most recent call last):
    File "C:\Users\MYSTIC\Desktop\chatterbot\chatboy.py", line 1, in <module>
    from chatterbot import ChatBot
    File "C:\Users\MYSTIC\Desktop\chatterbot\chatterbot.py", line 2, in <module>
    from chatterbot.storage import StorageAdapter
    ModuleNotFoundError: No module named 'chatterbot.storage'; 'chatterbot' is not a package
    Sanırım bu beni pek sevmedi, kendimi Trump gibi hissediyorum
    I guess it didn't like me much, I feel like Trump
    AlenBasia
    @AlenBasia
    Send the code
    ahmet-soner
    @ahmet-soner
    sorry :)
    Screenshot_1.png
    ahmet-soner
    @ahmet-soner
    Screenshot_2.png
    AlenBasia
    @AlenBasia
    It looks like there is a problem with other packages too
    SqlAlcemy
    maybe if you reinstall python the problem will be solved
    ahmet-soner
    @ahmet-soner
    I tried it too, it was not solved, I reinstalled 4 or 5 times
    ahmet-soner
    @ahmet-soner

    man i found the solution to the problem


    Or try changing ...
    time_func = time.process_time ()
    insted of .. time_func = time.clock in
    C: \ Users \ Admin \ AppData \ Local \ Programs \ Python \ Python38 \ Lib
    site-packages \ sqlalchemy \ util \ compat.py


    Needed to change time_func code in compat.py file
    Time code changed in python 3.8 version


    Thank you very much for working with me, thank you very much

    AlenBasia
    @AlenBasia
    Nice!!
    new_jad
    @new_jad:matrix.org
    [m]
    Hey everyone, my name is jad and it's my first experience using chatterBot. I've been struggling for days and thank god i found a way to communicate with someone to get some help. I'm a computer science student and my priority language is Python. With some JAVA and JavaScript knowledge.
    new_jad
    @new_jad:matrix.org
    [m]

    My first error started with:

    cannot import name 'ListTrainer' from 'chatterBot'
    the second one was:
    time_func = time.clock
    fixed this one and then another similar error appear,
    i don't know if something's wrong with packages or something else, i'm so confused and blocked.

    AlenBasia
    @AlenBasia
    Try prython 3.7
    1 reply
    Anirudh Vaish
    @avaish1409

    Hey there!

    I am trying to develop a new python module for video chatting with a bot. (with chatterbot as a dependency)

    Repo: https://github.com/avaish1409/VideoChatBot/
    Gitter: https://gitter.im/VideoChatBot/community

    Downloads: 429 (last 2 days)

    ''' pip install VideoChatBot '''
    or
    ''' pip install https://files.pythonhosted.org/packages/5b/cc/9dbb790525fe3daa8f0822e60eec38dfea8af5e33af0334dc66b4a022ac4/VideoChatBot-0.0.2.tar.gz '''

    Do contribute on github, let's build it together!

    Plz star the repository if you like it .. you can also contribute on github 😁

    new_jad
    @new_jad:matrix.org
    [m]
    is there any tutorial to follow that uses new python versions??
    @avaish1409: what python version are you using?
    1 reply
    new_jad
    @new_jad:matrix.org
    [m]
    it did work on old python versions thanks
    any good tutorials for implementing chatterbot with django?
    new_jad
    @new_jad:matrix.org
    [m]
    'Either a statement object or a "text" keyword ' chatterbot.chatterbot.ChatBot.ChatBotException: Either a statement object or a "text" keyword argument is required. Neither was provided.
    hey, anyone familiar with this issue?? i get this when i input some text and click submit
    Atif Khan
    @khanatif271
    hey everybody, I am using ChatterBot first time. I am getting this error can someone help me out, please
    image.png
    I wrote this
    image.png
    ProQianXiao
    @ProQianXiao
    @khanatif271 use the commond "pip install chatterbot-corpus", then I think it will work.
    Miclain K Keffeler
    @mkkeffeler
    hey all! I just joined the chatterbot community, and was really saddened to see we still rely on spacy 2.1.9, which limits us to python 3.7 because of not having a wheel for 3.8 and above, without that wheel people run into lots of issues installing, making it unusable. How can I help ? seems we started gunthercox/ChatterBot#1963 but needs something to happen it looks like?
    Miclain K Keffeler
    @mkkeffeler
    hey! would love to work with someone who can help me get started, I am happy to contribute but seems like to do so would require some access, and would be happy to have conversations around that if that would be helpful.
    this is a great product! with some love we can keep it up to date so that those working to keep their code up to date can do so
    ajk5000
    @ajk5000
    Hi everyone, I'm just getting started with ChatterBot and have a basic question. What is the default statement_comparison_function if you don't define it explicitly with logic_adapters when you initialize the ChatBot?