title: Cannot compile chaincode
body: <p>I am trying to compile the chaincode_example02 followed by this <a href="https://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/" rel="noreferrer">guide</a> with Option 2 (for Mac). All steps were passed except compiling the code. I have the following error:</p>
  
  <pre><code>cd $GOPATH/src/github.com/chaincode_example02
  go build
  chaincode_example02.go:30:2: cannot find package "github.com/hyperledger/fabric/core/chaincode/shim" in any of:
      /usr/local/Cellar/go/1.7.1/libexec/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOROOT)
      ($GOPATH not set)
  </code></pre>