AttributeError:模块"boto"没有属性"plugin" [英] AttributeError: module 'boto' has no attribute 'plugin'

查看:79
本文介绍了AttributeError:模块"boto"没有属性"plugin"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用具有word2vec模型的Jupyter笔记本在Google Cloud Platform上运行VM.我有以下代码片段:

I'm running a VM on Google Cloud Platform using Jupyter notebook with word2vec models. I have the following code snippet:

from gensim.models import Word2Vec
amazon_word2vec = Word2Vec(model, min_count=1, size=100)

它会导致错误:

AttributeError: module 'boto' has no attribute 'plugin'

上述问题的解决方法是什么?

What is the solution to the above problem?

推荐答案

pip install google-compute-engine

安装Google计算引擎并重新启动您的虚拟机,它可以正常工作.

install google compute engine and restart your vm and it works fine.

这篇关于AttributeError:模块"boto"没有属性"plugin"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆