我使用(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
这个警告可以通过更新 聪明的打开 到版本 2.0.0
或更新的版本。
python -m pip install --upgrade smart_open
或者可以降级版本,只是好像是1.11版本的问题,所以。
pip install --upgrade smart-open==1.10.0
信息链接供参考。https:/github.comRaRe-Technologiessmart_openissues475。