简体   繁体   中英

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'

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

try installing Chatterbot v1.0.2

pip install chatterbot==1.0.2

or download a python version 3.4 to 3.8

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM