Whenever I try to install ChatterBot using command pip install ChatterBot
it gives this error:
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000003687898>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/chatterbot/
Could not find a version that satisfies the requirement chatterbot (from versi
ons: )
No matching distribution found for chatterbot
I downgraded from Python 3.6 to 2.7, yet receiving the same error.
I am using windows 8, Anaconda 2.7
试试这个它会安装:
pip install chatterbot==1.0.4
The problem here is not ChatterBot but the pip command.
Try install chatterbot from it's source: https://github.com/gunthercox/ChatterBot/archive/master.zip
Then unzip the file.
After open up cmd and type in: cd chatter_bot_master_directory
Finally just type: python(3) setup.py install
If it doesn't work, retry it with more permission: Open up cmd in admin mode.
It's case sensitive issue, Try like this
pip install --upgrade chatterbot
It is a PIP installation Error! ChatterBot can not be installed with PIP cmd. For every module that can not be installed with PIP, Follow following procedure:
1) Download module from GITHUB or PyPi.
2) Unzip and place it in any Directory that you want to install module in.
3) In CMD: cd ,where is location where 'setup.py' of that module is located.
4) Now, CMD: python setup.py install
Module is now installed for use.
You'll need to install pip for windows ie pipwin So try--
pip install pipwin
then--
pipwin install pyaudio
wait for a few moments as pipwin takes time to execute
then install pocketsphinx using
pipwin install pocketsphinx
then try
pip install chatterbot==1.0.5
尝试在我的情况下安装 python 3.7.4 它可以工作
Please try
pip install git+git://github.com/gunthercox/ChatterBot.git@master
or
pip install chatterbot==1.0.2
You are getting this error because you have not installed required package. I think you need download them and install them before trying to install the chatterBot directly. You can install using 'pip' or you can download and us 'python'.
pip install path_where_you_have_downloaded_packages
or
python path_where_you_have_downloaded_packages\\setup.py install
Try it.
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.