gopherdata / gopherdata/gophernotes

Not working in module mode

Đang mở
#184 27 bình luận 1 reaction 1 người được giao Được @cosmos72 nhận Xem trên GitHub
limitation
Ngôn ngữ chính
Go
Star
4k
Fork
264
Merge trung bình
7 ngày 21 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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`.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.