如何在ubuntu中安装caffe 20.04

发布于 2025-02-03 11:56:15 字数 197 浏览 2 评论 0原文

我尝试安装caffe,但我在安装中仍然有问题,我尝试了几个教程,但仍然无法做到 文件“/home/lynda/caffe/python/caffe/proto/caffe_pb2.py”,第6行,in 来自google.protobuf.internal import enum_type_wrapper ModulenotFoundError:没有名为“ Google”的模块

I try to install caffe but I still have a problem in the installation, I tried several tutorials but still I couldn't do it
File "/home/lynda/caffe/python/caffe/proto/caffe_pb2.py", line 6, in
from google.protobuf.internal import enum_type_wrapper
ModuleNotFoundError: No module named 'google'

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

驱逐舰岛风号 2025-02-10 11:56:15

您缺少模块Google。您需要安装它

sudo python3 -m pip install google

sudo python -m pip install google

You are missing the module google . You need to install it

sudo python3 -m pip install google

or

sudo python -m pip install google
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文