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

我只是一个虾纸丫 提交于 2019-12-07 23:57:56

问题


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)

And it results in the error:

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

What is the solution to the above problem?


回答1:


pip install google-compute-engine

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



来源:https://stackoverflow.com/questions/52414249/attributeerror-module-boto-has-no-attribute-plugin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!