2024-09-29 21:44:48 发布
网友
我正在尝试运行这个演示https://github.com/ZheC/Realtime_Multi-Person_Pose_Estimation
我在运行ubuntu14.04
我已经安装了Python,安装了许多许多依赖项后,另一个弹出。它还需要python咖啡馆
所以我用这个命令安装了它: (我也试过Pip install caffe,但如果失败了)
Pip install caffe
Conda install caffe
但当我试着运行它时,我得到:
在pythonv2.7.14虚拟环境中运行conda v4.3.27并安装caffev1.0.0rc5,我已经能够在我自己的Anaconda环境中验证这种行为。在
caffe
在进一步研究这个问题之后,它似乎与以下公开的水蟒问题有关:caffe needs to pin protobuf requirement to version #6733
如本期所述:
The caffe and caffe-gpu package in defaults has a requirement on protobuf without any version dependencies. Unfortunately, the caffe packages links to libprotobuf.so.12 which is provided by the protbuf version 3.2.0
caffe-gpu
defaults
因此,我发现通过首先手动安装protobufv3.2.0,我能够成功地在Python中运行import caffe,方法如下:conda install protobuf==3.2.0
import caffe
conda install protobuf==3.2.0
在pythonv2.7.14虚拟环境中运行conda v4.3.27并安装
caffe
v1.0.0rc5,我已经能够在我自己的Anaconda环境中验证这种行为。在在进一步研究这个问题之后,它似乎与以下公开的水蟒问题有关:caffe needs to pin protobuf requirement to version #6733
如本期所述:
因此,我发现通过首先手动安装protobufv3.2.0,我能够成功地在Python中运行
import caffe
,方法如下:conda install protobuf==3.2.0
相关问题 更多 >
编程相关推荐