pip从豆瓣镜像源安装报错
报错:
WARNING: The repository located at pypi.douban.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with ‘–trusted-host pypi.douban.com’.
ERROR: Could not find a version that satisfies the requirement gensim (from versions: none)
ERROR: No matching distribution found for gensim
可能原因:
1、pip不能使用http类型的连接,必须使用https的安全连接。
改为
pip3 install gensim -i https://pypi.douban.com/simple/
成功安装