无法识别的导入路径 "google/protobuf"

unrecognized import path "google/protobuf"

我正在尝试设置链码环境并开始学习开发链码,我遵循了设置步骤here and tested my setup environment as mentioned here 当我尝试将 Hyperledger shim 添加到我的环境时(如 here 所述),我收到以下错误: package google/protobuf: unrecognized import path "google/protobuf"

我已经安装了 protobuf。 protoc --version 命令给我 libprotoc 2.6.1 作为输出。谁能告诉我哪里错了。

建立开发环境的说明cited in the original question are pretty clear that Go 1.6 or above is a prerequisite。根据上面的 @jimb 评论,升级到 1.6.2 解决了这个问题。