Search code examples
pythonchatterbot

Error while installing chatterbot library through command prompt


I've been trying to install the chatterbot library. I've tried by using pip install and downloading from git but its giving me an error that I cant resolve. ERROR: Package 'chatterbot' requires a different Python: 3.9.1 not in '<=3.8,>=3.4'


Solution

  • I had the same problem, you will need a new environment with python 3.6

    You can change the name "example",put your favorite name.

    conda create -n example python=3.6

    Every time that you work with your chatbot you will need enter in this environment:

    conda activate example

    Please if you have more question let me know.

    After this maybe you will need spaCy library --> https://spacy.io