gopherdata / gopherdata/gophernotes

Not working in module mode

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

描述

I am trying to run github.com/kortschak/graphprac on my local machine. I always run with module mode on, Go version 1.13.

When I try to run the first cell of the notebook at that repo I get a failure that the build with buildmode=plugin failed. When I execute this in a terminal to investigate I see that it's because the go tool expects the go.mod file to exist and bails otherwise. Creating a go mod file in that directory allows the build to complete and also allows the cell to execute on the notebook.

Perhaps the go.mod from imported packages' modules could be placed in the gomacro build paths.

At the very least, it should be noted that it might be necessary to invoke the server with `GO111MODULE=off jupyter notebook`.

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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