gopherdata / gopherdata/gophernotes

gophernotes and replace on go.mod

未关闭
#255 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
4k
派生
264
平均合并
7 天 21 小时
30 天内合并 PR
1

描述

I'm trying to use gophernotes to test some Cosmos SDK functionality. In particular, I would like to run in a notebook this test:

https://github.com/cosmos/cosmos-sdk/blob/main/store/iavl/store_test.go#L316

but when I run the import:

```
import (
"github.com/cosmos/cosmos-sdk/store/cachekv"

"github.com/stretchr/testify/require"
dbm "github.com/tendermint/tm-db"

tiavl "github.com/cosmos/iavl"

"github.com/cosmos/cosmos-sdk/store/dbadapter"
"github.com/cosmos/cosmos-sdk/store/gaskv"
"github.com/cosmos/cosmos-sdk/store/iavl"
"github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)
```

I obtain the following error:

`error executing "/usr/local/go/bin/go build -buildmode=plugin" in directory "/Users/stepyt/go/src/gomacro.imports/gomacro_pid_3616/import_1": exit status 2`

By looking at Jupyter logs with:

`jupyter notebook --log-level DEBUG`

I receive the following:
`
github.com/gogo/protobuf/grpc: module github.com/gogo/protobuf@latest found (v1.3.2), but does not contain package github.com/gogo/protobuf/grpc`

The SDK has a replace inside go.mod of the protobuf package. Can be related to this the error?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。