我使用(pip install gensim)安装了gensim模块,并且安装成功。
Successfully installed boto-2.49.0 boto3-1.12.45 botocore-1.15.45 docutils-0.15.2 gensim-3.8.2 jmespath-0.9.5 s3transfer-0.3.3 smart-open-1.11.1但在我的jupyter笔记本上导入时,它显示:
unable to import 'smart_open.gcs', disabling that module发布于 2020-05-13 04:00:08
可以通过将smart_open更新到2.0.0或更高版本来删除此警告。
python -m pip install --upgrade smart_open 发布于 2020-05-13 14:37:34
或者,verion可以降级,这似乎是1.11版的问题,所以:
pip install --upgrade smart-open==1.10.0参考信息链接:https://github.com/RaRe-Technologies/smart_open/issues/475
https://stackoverflow.com/questions/61396498
复制相似问题