anaconda prompt安装gensim包错误解析

特别声明:本博客属于原创内容,若需转载或引用,请均注明转载和加上相应的链接信息!!!!

问题描述:

问题1:
Collecting botocore<1.13.0,>=1.12.215 (from boto3->smart_open>=1.7.0->gensim)
ERROR: Could not find a version that satisfies the requirement botocore<1.13.0,>=1.12.215 (from boto3->smart_open>=1.7.0->gensim) (from versions: none)
ERROR: No matching distribution found for botocore<1.13.0,>=1.12.215 (from boto3->smart_open>=1.7.0->gensim)

问题2:
ERROR: Exception:
Traceback (most recent call last):
File “e:\anaconda3\lib\site-packages\pip_vendor\urllib3\response.py”, line 397, in _error_catcher
yield
File “e:\anaconda3\lib\site-packages\pip_vendor\urllib3\response.py”, line 479, in read
data = self._fp.read(amt)
File “e:\anaconda3\lib\site-packages\pip_vendor\cachecontrol\filewrapper.py”, line 62, in read
data = self.__fp.read(amt)
File “e:\anaconda3\lib\http\client.py”, line 449, in read
n = self.readinto(b)
File “e:\anaconda3\lib\http\client.py”, line 493, in readinto
n = self.fp.readinto(b)
File “e:\anaconda3\lib\socket.py”, line 586, in readinto
return self._sock.recv_into(b)
File “e:\anaconda3\lib\ssl.py”, line 1009, in recv_into
return self.read(nbytes, buffer)
File “e:\anaconda3\lib\ssl.py”, line 871, in read
return self._sslobj.read(len, buffer)
File “e:\anaconda3\lib\ssl.py”, line 631, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out

解决方案:
首先:在anaconda prompt中输入:
pip install gensim
若出现问题1.换更好一点的网然后输入:
pip install gensim
当出现问题后,多尝试几遍输入后回车,当出现下图的界面
在这里插入图片描述
说明你离成功已经不远了。
安装完后 会出现下面的截图事项 ,不用管他。
在这里插入图片描述
再次检验是否安装成功,输入
pip install gensim
出现下图,无报错的话,说明你的“gensim”包安装成功
anaconda prompt安装gensim包错误解析_第1张图片

你可能感兴趣的:(anaconda,个人经验)