gpt4 book ai didi

python - 属性错误 : module 'boto' has no attribute 'plugin'

转载 作者:行者123 更新时间:2023-11-28 20:57:43 24 4
gpt4 key购买 nike

我在 Google Cloud Platform 上使用 Jupyter notebook 和 word2vec 模型运行虚拟机。我有以下代码片段:

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

它会导致错误:

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

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

最佳答案

pip install google-compute-engine

安装谷歌计算引擎并重启你的虚拟机,它工作正常。

关于python - 属性错误 : module 'boto' has no attribute 'plugin' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52414249/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com